tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.11k stars 314 forks source link

VR-Mode not working with Mozilla XR Viewer iOS #435

Open denkerinteraktivgmbh opened 3 years ago

denkerinteraktivgmbh commented 3 years ago

VR-Mode not working with Mozilla XR Viewer iOS

Description
Version
Platform
tentone commented 3 years ago

Hello

Thanks a lot for reporting this issue, unfortunately, I don't have a way to reproduce it.

If you could provide additional data about the issue, maybe console logs is would help. Does it work with the threejs examples?

Thanks a lot!

denkerinteraktivgmbh commented 3 years ago

Hi, sorry for our late response. We connected a remote console to the Mozilla XR Viewer App. Calling navigator.xr and navigator.getVRDisplays return both undefined

navigator.xr.isSessionSupported("immersive-vr") returns an empty object

Mozilla XR Viewer seems to support currently only immersive-ar not immersive-vr: https://github.com/mozilla-mobile/webxr-ios/issues/186#issuecomment-651373075

Currently there seems no possibility to get immersive-vr working with any iOS App. Solutions appreciated!

helzapps commented 3 years ago

I'm not able to get VR working in just a simple web page from the sample WebXR project provided in the learn more section. I tested with both iOS Mobile Safari, Chrome, Oculus Quest 2 headset. All return a message in the console nunuStudio: Loaded program is not VR enabled.

Anyone else able to get VR working? Exported project: nunuStudio 0.98.30 (2021-03-11T13:50:22.597Z) (../assets/learn/basics/vr/vr.nsp)