Project with OVR always builds for Rift, even if not used?
I have asked this on the unity3d forums as well, not sure if it's a unity problem or a oculus integration problem.
Using the following
Unity 4.6.3f1
Oculus Integration 5.0.1
I have a test project that has an Oculus Camera Rig (enabled) as well as a Main Camera (disabled) in a single scene.
When I build the project it builds as expected, and when I run either Test.exe or Test_DirectToRift.exe it shows up in my Rift as expect.
Here is the issue I am having,
So I go back to my project, disable any Oculus scripts and objects, end enable the Main Camera. In the editor it works as expected, no rift eyes . I build like before, and run either Test.exe or Test_DirectToRift.exe, instead of NOT running in the Rift, it does run in the rift. No rift eyes in Rift either, which is good, just on the wrong screen.
So am I missing something here? Or is it, if you have the Rift OVR classes and DLLs in your project even if you don't use them, when you build, it builds to use the Rift as the output target regardless?
Basically I'm trying to create test were I can run it like normal, and then run in in Rift mode, same build executable for both. Can that even be done? I don't want to really be building two separate projects.
Thanks
Using the following
Unity 4.6.3f1
Oculus Integration 5.0.1
I have a test project that has an Oculus Camera Rig (enabled) as well as a Main Camera (disabled) in a single scene.
When I build the project it builds as expected, and when I run either Test.exe or Test_DirectToRift.exe it shows up in my Rift as expect.
Here is the issue I am having,
So I go back to my project, disable any Oculus scripts and objects, end enable the Main Camera. In the editor it works as expected, no rift eyes . I build like before, and run either Test.exe or Test_DirectToRift.exe, instead of NOT running in the Rift, it does run in the rift. No rift eyes in Rift either, which is good, just on the wrong screen.
So am I missing something here? Or is it, if you have the Rift OVR classes and DLLs in your project even if you don't use them, when you build, it builds to use the Rift as the output target regardless?
Basically I'm trying to create test were I can run it like normal, and then run in in Rift mode, same build executable for both. Can that even be done? I don't want to really be building two separate projects.
Thanks
