#Exit VR
1 messages · Page 1 of 1 (latest)
Hi! So you can make a regular UI Canvas with a Button in it and that will work in VR as well. You'll have to probably come up with some follow code so that the UI floats in front of the user if needed.
For testing, you can also just make a regular cube, add a button component, and call endSession from the WebXR component:
Awesome! Huge thanks for that, it’s much appreciated 🙂
Calling WebXr.exitXR() close the oculus browser on exiting. is there any way to just exit from vr session without closing the browser.
This would be a Oculus browser bug if that happens - I think the latest oculus browser version minimizes the browser on exit. There's nothing we can do about it directly in Needle Engine. I think this is known to the devs however