So I just upgraded to 5.1 and am trying to use the oculus, as in the title.
I have looked through all of the forums and answers I can find on this. I have now got it working to a point where using GameName.exe -vrmode oculus via a batch file has forced the oculus to acknowledge the app I have built and play it.
The problem I have now is that there is no head tracking, no rotation or anything that your would expect, you basically have whatever you are looking at when the game loads follow you around where you move your head.
Has anyone had any luck with this yet?
I’ve removed all of the previous SDK that I used in previous versions of Unity for Oculus. I have scripted it to run vr to true on Awake via the Unity.VRSettings. All the right things seem to be ticked so I am running out of ideas.
Any help would be greatly appreciated.
You must be running the Oculus Runtime version 0.6.0 or later. This can be obtained from the Oculus Developer Website. At the time of writing, only Windows is supported on 0.6.0. Make sure your device is recognized by the Oculus Configuration Utility and Show Demo Scene functions correctly before running with Unity.
Oculus DK2 fully supports the Unity VR Editor workflow for rapid iteration times in editor.
Getting started with a new project
Make sure your DK2 is working as described above.
Open Unity.
Enable “Virtual Reality Supported” option in Player Settings.
Enter play mode in editor. You should be able to look around with the device and see the default skybox.
Upgrading your project from Oculus Unity Integration Plugin
Remove the OVR folder and any Oculus plugins from your project
Remove or disable the Camera Rig. Replace with standard Unity Camera.
Enable “Virtual Reality Supported” option in Player Settings.
Enter play mode in editor.