Closed arpu closed 5 years ago
looks like something like this is needed in aframe https://github.com/MozillaReality/aframe/commit/cfe8fbb1c265cde4fbf500a9278fe48344b76562
wau thx!
from slackuser klaus
klausw 9:56 PM PSA, please be aware that the WebXR specification fairly recently added a requirement that most reference spaces must be requested as a feature at session creation time, and the requestReferenceSpace call will fail if this wasn't done. See https://immersive-web.github.io/webxr/#feature-dependencies for details. Chrome enforces this restriction as of Canary 78.0.3886.0. In short, you can use local reference space in immersive sessions without changes, but others such as local-floor need to be requested as a feature first, for example navigator.xr.requestSession('immersive-vr', {requiredFeatures: ['local-floor']}). If you see pre-existing WebXR applications failing with errors such as "This device does not support the requested reference space type", that's likely due to the application not making the needed feature requests.
I made a quick "solver" snippet for those desperate for a solution! https://github.com/aframevr/aframe/issues/4354#issuecomment-567052948
It's not a real or global solution, but it works for those that had it working and suddenly it crashed (and the fix, which was to update aframe to 1.0 brought a different problem, with the raycaster). This is just a really fast, temporary fix.
chrome stable 77 https://github.com/MozillaReality/WebXR-emulator-extension aframe master example https://a-frobot.github.io/aframe/examples/boilerplate/hello-world/
@takahirox @dmarcos does this needs a aframe change or Emulator?