immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
987 stars 474 forks source link

when running AR sample on my phone, AR works for a second and then disappears--unless I click 'run without polyfill' #93

Open kylebakerio opened 3 years ago

kylebakerio commented 3 years ago

(chrome mobile 88 on oneplus 6T, same result on girlfriend's oneplus 5, and same result efore updating chrome and android)

As the title says, the AR feature seems broken. It seems to work for about a second, then all 3d content disappears. However, if I click the 'run without polyfill', it all works very well and stays there.

referring to: https://immersive-web.github.io/webxr-samples/immersive-ar-session.html vs https://immersive-web.github.io/webxr-samples/immersive-ar-session.html?usePolyfill=0

kylebakerio commented 3 years ago

might try updating the polyfill script: https://github.com/immersive-web/webxr-polyfill but honestly it seems like feature detection should be implemented to prevent the polyfill from being included when not necessary anyways? (seems like that should also be implemented in the polyfill itself)