- Home /
In android Gear Vr, is it possible to launch an application in normal/phone mode, and then have it transition to Unity/VR when the user clicks the option?
In android Gear Vr, is it possible to launch an application in normal/phone mode, and then have it transition to Unity/VR when the user clicks a button to go into VR?
So far the app either launches completely in VR with "vr_only" as an option, or launches normally and goes to Oculus Home when we try "vr_both" or "vr_dual".
Is such a thing possible, or will we have to make two separate apps?
Answer by Verdemis · Aug 16, 2016 at 08:10 PM
I'm only unsing google vr, but maybe my solution could work for you too. I'm guessing gear vr works similar.
This is how I did this. In the main menu of my game I made a button "switch to vr mode". When the player clicks this option I reload the current scene and instantiate the gvrViewer Prefab (which makes the camera a stereo cam and activates headtracking) and I set my boolean vrMode variable in my gamemanager object to true. When the player starts the game and vrMode is true, I instantiate the gvrViewer and when it's false I do not.
Unfortunately that doesn't work. We tried that and when we put on the Gear it will simply launch Oculus Home ins$$anonymous$$d of going to VR mode. :(
Your answer
Follow this Question
Related Questions
GearVR Recenters view when you take off and put on the headset 1 Answer
App has closed unexpectly in GEAR VR after allowing all permissions 0 Answers
How to get smooth device camera in gearvr like passthrough option? 0 Answers
Is Build and Run essential to make a Gear VR app ? 1 Answer
Getting Gear VR to work 1 Answer