-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In oculus browser not detect VR mode only AR Mode #56
Comments
As mentioned here, AR takes priority over VR. Simple-WebXR-Unity/com.rufus31415.simplewebxr/Runtime/Plugins/WebGL/SimpleWebXR.jslib Line 574 in 492fa08
|
Ok. Thanks! |
I suggest you replace the line with the following to force immersive-vr : navigator.xr.requestSession('immersive-vr', { optionalFeatures: ['local-floor', 'hand-tracking'] }).then(function (session) { |
Thank you! I have already changed it. I've saved, restarted Unity, compiled and it's still detecting AR. Do I have to do something to compile the jslib? |
You have nothing to do, the jslib is automatically included in the output binary. |
unfortunately it still detects AR. |
I just tested this solution and it worked for me. Thanks! |
In oculus browser not detect VR mode, only detect AR Mode.
How can I force the VR mode on the Oculus Quest and keep the AR mode enabled on the smartphone?
thx!
The text was updated successfully, but these errors were encountered: