WebXR Examples not working when forked

The WebXR examples work in AR if I play them from the original project but not when i fork them myself. For example:

WebXR UI Interaction: https://playcanvas.com/project/460449/overview/webvr-ray-input

This one works perfectly fine when clicking the play button and opening it in AR. However when I fork it, publish it and try it in my own project and click on AR the object appears then disappears completely.

Hi Timmy770

Unfortunately, Chrome released an update that changed the WebXR API (the earlier version of the engine when that example was published didn’t use the WebXR API that was changed at the time)

We have a fix ready for the next engine release that we are hoping to do next week.

The release is available to use as a ‘preview’ (it’s still going through our release plan and test processes) and can be used via the use_local_engine param in the launch tab.

eg: https://launch.playcanvas.com/1142709?use_local_engine=https://code.playcanvas.com/playcanvas-latest.js

1 Like