We updated our playcanvas engine to 1.46.5 however, the published application (which is live at, https://jnj-unmatch.vtour.tech/workshop), is still crashing on safari 15. I guess it was meant to run fine after updating engine and re-publishing the scene, but no luck.
This is the error we get. Are we missing something? Please help.
@Ankit Would you be able to send us a link to a build that we can run locally and make changes or be able to add âyaustarâ to the PlayCanvas project so we can fork it and take a look please?
Found the issue: Itâs due to the WebXR polyfill in the project being called on startup which is the bug with Safari 15 that we had to workaround in the engine.
In the scripts folder, delete the webxr-polyfill* files as they are duplicates:
@yaustar It worked perfectly, just uploaded and published it live, hereâs the URL :
Although I have published with âpc.platformâŚâ and not âwindow.platformâ as I didnât see your updated comment before making changes. We tested on all of the devices and itâs up and running as intended. Iâll update with the necessary changes later.
Thanks for your help, and for providing the solution promptly. We appreciate it.
@Ankit Side note that you with my first (bad) code fix, you will get errors in the console about pc not defined just in case you have crash log tracking on the site.