Forum Discussion
ArthurFox
9 years agoHonored Guest
How to switch between VR and non-VR mode, as in the "Samsung Gear 360" app, with Unity + Android?
Hi there, I'm developing a simple app in Unity and wish to be able to switch between starting in non-VR mode, then switching into VR mode. This is much in the same way as the Samsung Gear 360 app does when you click on the "View on Gear VR" button on the top-right.
When enabling "Virtual Reality Supported" in the Android tab of the Unity Player Settings, the app will always require the Gear VR to start up, which is less than ideal. And once its running there's no way of switching out of VR, even when a script disables the suggested "VRSettings.enabled" flag, which simply doesn't seem to do anything.
So does anyone have any ideas?
Thanks in advance!
When enabling "Virtual Reality Supported" in the Android tab of the Unity Player Settings, the app will always require the Gear VR to start up, which is less than ideal. And once its running there's no way of switching out of VR, even when a script disables the suggested "VRSettings.enabled" flag, which simply doesn't seem to do anything.
So does anyone have any ideas?
Thanks in advance!
30 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffApps that support VR and non-VR modes today have to use separate APKs and send intents to each other.
At some point, we plan to add support for "dual mode" in a single APK, but it will take changes in VRSVC that we can't expect to land within the next month or two. When dual mode works, you will be able to toggle it with VRSettings.enabled, but unfortunately it isn't clear when that will be. - ArthurFoxHonored GuestAh i see, thanks for the response! Do you know of any tutorials or resources where I could learn how to this sort of thing?
And also is there any sort of roadmap that I can keep up with to know when "Dual Mode" is being tackled and does indeed come through? Because if it were to say come through by January next year then that might not be a problem with the schedule I'm working towards.
Thanks! - vrdavebOculus Staff> Do you know of any tutorials or resources where I could learn how to this sort of thing?
Have a look at https://developer.android.com/training/sharing/send.html and http://answers.unity3d.com/questions/1040146/is-it-possible-to-open-a-unity-android-app-with-in.html.
> is there any sort of roadmap that I can keep up with to know when "Dual Mode" is being tackled
Our engine integrations don't have a public roadmap, but dual mode should be working by the end of January. - ArthurFoxHonored GuestGreat stuff - I look forward to getting the Dual Mode functionality!
Thanks for the help @vrdaveb!
=D - nehaObsessVRHonored GuestHi @vrdaveb, just wanted to check on whether the "Dual Mode" feature is available now. We are developing a similar Android app that needs to start in non-VR regular mode and then have the option to switch to VR mode with the Samsung Gear VR. Thank you!
- vrdavebOculus StaffUnfortunately, dual mode is not on track for this month. Given the current priorities, it would be landing in March at the earliest.
- AnonymousSame question here again =P
Where are we on Dual Mode @vrdaveb ? =) - AnonymousHi guys, any updates?
Thanks! - Anonymous:'( :'(
I'm also interested in this. Any updates? - tej_pratap0Honored GuestAny Update?
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
- 1 year ago
- 2 years ago
- 7 months ago