Forum Discussion
Chris10001
6 years agoExplorer
Switching from VR mode to 2D mode in unity?
I'm trying to allow my Oculus Quest app to switch from VR mode to 2D mode or vice versa
I'm using Unity.
This can be done on Cardboard/Daydream like this by switchin XR modes:
Is it possible with the Quest?
4 Replies
- Anonymous
i am also looking for this, did you find any solution?
- julienkayAdventurer
Are you using XR Plugin Management? If so, you can manually manage the loading of XR Plugins by calling XRLoader.Start() / XRLoader.Stop().
Some more information and example code can be found in the Unity forum: https://forum.unity.com/threads/xr-management-controlling-the-used-xrloader-manually.1019677/
- julienkayAdventurer
Wait, I just realized that this question was about switching to 2D mode for an Oculus QUEST App. In that case ignore my comment, I don't think this is currently supported in Unity. While it's possible to sideload traditional apps and start them via Oculus TV, there's currently no way to switch between such a mode and VR, afaik.
You might have better luck with this by using WebXR. With WebXR it's sort of common to start on a 2D page in a browser and switch to immersive mode and back through some kind of user interaction.
- amraboelelaHonored Guest
I was able to do it using ndk cpp, check https://stackoverflow.com/questions/76970641/how-can-i-mix-vr-mode-and-2d-mode-activities-in-the-same-android-app
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 28 days ago
- 2 years ago