Reputation: 7638
I was the developer on a project using Oculus Rift about 2 months ago. I received the Oculus DK 2 now and I want to update the project. I've been thinking to what it could be the easiest way but I want to be sure I don't miss something I could try before going for the hardest approach which means wiping out the DK 1 objects like OVRCamera and all the links to it, go through all the scenes and update everything component by component, and so on.
What I tried so far (not caring about dumbness):
So, I ended up with loads of errors in all cases which, I know, is a bit obvious but was still worthy a try.
Do you have any other clever ideas to try?
Thank you all for your attention.
Upvotes: 0
Views: 1511
Reputation: 87
This worked for me:
1) Open up a blank scene in your DK1 project. 2) Delete the OVR folder in Assets 3) Delete the three files with the word 'oculus' in it in the Plugin folder in Assets.
Import "OculusUnityIntegration.unitypackage" from the Oculus website.
Some adjustments were required from there (replacing Character Controllers and stuff like that), but ultimately it worked!
Upvotes: 0
Reputation: 1
I ended up with a similar problem to you. I fixed it by removing all the DK1 OVR files, then importing the Tuscany demo, then copying the OVRPlayerController from their scene into mine, then moved scripts from my old OVRPlayerController, to the new one. finished up with no errors relating to the PlayerController
Upvotes: 0