How to exit a webxr session in Quest and return to browser?

XR_SESSION.end();
XR_SESSION = null;

Works as expected for Rift+Firefox webVR however on Quest WebXR it doesn’t exit. How do you programmatically exit to return to the 2D browser view in Quest? Thanks.

2 Likes

Sorry if I’m replying to an old post, but I’m doing it in case others are trying to solve the same problem.

You have to get the XR session you’ve previously started from WebXRManager and end it with the method.

renderer.xr.getSession().end();
1 Like