Hello!
After recently upgrading an older tour to version 1.22, webvr or rather webxr doesn't seem to be working on the Meta Quest headset.
This tour uses a bit of a custom engine (based on krpano of course), so I can't exactly share the whole codebase, but the point is:
- webvr, gyro2 and krpano itself are both 1.22, same build
- webvr plugin's onavailable event fires and the iswebvr and iswebxr attributes are all true
- there is a button that we click to call the entervr() function so user interaction is there
- and when that happens, instead of entering vr, there's a black screen for a few moments with the loading indicator, and then the page reloads
- the official krpano examples work just fine
no errors in the console whatsoever
What is the bare minimum code for the webvr plugin to function? Just adding the plugin, setting keep to true and then calling the plugin's entervr() function should work right?
I'm gonna continue to try and figure this out but if anyone got any tips, I'd appreciate that. Thanks.