Exit From Xr View after click n button

Hi,
I Just want to exit from Xr Mode on a button click.

You can call exitAsync on the webXRSessionManager this.sessionManager.exitXRAsync();

Can this be done while walking around in cardboard mode, without any controller or keyboard? I can only stare at things or tap screen.

you can add a gui 3d button in your experience and call it from there.

I solved in antoher way: I needed to exit for debugging on Playground on PC, but now I noticed that WebXR emulator plugin has an “exit vr” button.

1 Like