nunuStudio icon indicating copy to clipboard operation
nunuStudio copied to clipboard

VR-Mode not working with Mozilla XR Viewer iOS

Open denkerinteraktivgmbh opened this issue 4 years ago • 3 comments

VR-Mode not working with Mozilla XR Viewer iOS

Description
  • We are looking for a solution to get a nunuStudio VR-Project running on an iOS device. Mozilla XR Viewer is not working.
  • We already tried to force VRHandler.webVRAvailable = true; to display the Toggle-VR Button, calling toggleVR(); does nothing.
  • Maybe somebody has an idea how to get the console output within the Mozilla XR Viewer to get the Error-Message
Version
  • nunuStudio 0.98.15 Build 2020-10-06T11:27:45.292Z
Platform
  • Web Version [X]

denkerinteraktivgmbh avatar Oct 06 '20 12:10 denkerinteraktivgmbh

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!

tentone avatar Oct 11 '20 15:10 tentone

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!

denkerinteraktivgmbh avatar Oct 21 '20 12:10 denkerinteraktivgmbh

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)

helzapps avatar Apr 28 '21 15:04 helzapps