cancel
Showing results for 
Search instead for 
Did you mean: 

How tu turn unity vr project into non vr

ricard2798
Honored Guest
I have a question. I did a project from the ground up for gearvr. Now, I am interested in transforming that project into non vr. The question is, what thngs/parameters need to be changed so that it runs in a regular apk format (without requiring to plug in a gear vr). Can i jsut chance a few settings, or do i need to do a whole new project? 😞

Thanks in advance
9 REPLIES 9

Anonymous
Not applicable
Remove the OVR camera rig from the project and replace with a regular camera should do it.

ricard2798
Honored Guest
Thanks. ill give that a try. I thought it would be more laborious, since when implementing the rig, you need to overwrite the settings folder and a few other things. 🙂

Anonymous
Not applicable
Most of the same settings would apply to Android I would think (refresh rate, etc)
In theory you could swap out all the Oculus SDK and install the Cardboard SDK and use it's camera system for porting it to cardboard vr if you wanted as well.

ricard2798
Honored Guest
switched teh camera, but still got the plug into oculusvr... i think im going to subs the settings folder 😞

Anonymous
Not applicable
Make sure to update your Android manifest. It will say VR_Only, which is why it requests the Gear VR So remove this line: <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>

And if you're not using any Oculus libraries you might as well remove those from the project but

dignifiedweb
Expert Protege
When I converted my entry from Gear VR to a regular phone game, I had to delete the entire plugins folder under the assets folder. It was only then that it actually got rid of the prompt for Gear VR. Although, it may be different if you're using Unity 5 and the newest builds. I remember reading that Unity 5 no longer needs the Oculus Runtime to target the Gear VR with the newest builds.

In any case, for me it was just put a regular camera and delete the Plugins folder and it worked good. Hope that helps.
Check out my Mobile VR Jam 2015 title Man Overboard! - Try the DK2 Version if you don't have a Gear VR

ricard2798
Honored Guest
Thank you dig. Your suggestion about the manifest file did the trick. Thanks 🙂

dignifiedweb
Expert Protege
"ricard2798" wrote:
Thank you dig. Your suggestion about the manifest file did the trick. Thanks 🙂


You're welcome! I'm glad it worked for you. 🙂
Check out my Mobile VR Jam 2015 title Man Overboard! - Try the DK2 Version if you don't have a Gear VR

nomad512
Explorer
If you want to keep OVR in your project but disable it for a non-OVR build, you can do so by disabling the OVRPlugin.aar in its plugin import settings.