Hi all, I’ve been experimenting with Web XR (primarily AR) in Babylon 4.2 for a while now and today decided to upgrade to the latest Babylon available, version 5.0.0-rc.2.
However I’m encountering a few different bugs, and wondered if there was a general list of changes that I could check against to narrow down whats happening?
The main bug I am getting is:
- expected behaviour (working in 4.2): app should start searching for a hit and then showing a placeholder object, before anchoring an object there
- current behaviour(5): object is immediatly placed at a 0,0,0 position (so camera is inside it), and gives this error:
Uncaught (in promise) DOMException: Failed to execute 'requestHitTestSource' on 'XRSession': Hit test feature is not supported by the session. at Observer.WebXRHitTest._this.initHitTestSource [as callback] ...
As a second issue, some previous playgrounds I made to test GUI in AR are also not working, showing white screens, this one in particular (will work if version changed to 4.2):
I can try and recreate the first error in a playground also if thats needed but if any of these problems ring a bell firs then would be good to get some starting points.