Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
SusiZ's avatar
SusiZ
Honored Guest
11 years ago

Right eye camera not moving

I am having the same problem as discribed here:

http://answers.unity3d.com/questions/658910/why-is-the-right-camera-on-oculus-not-working.html

The right eye camera is not moving if the VR prefabs are imported into an existing project.
Edit: I have now found out that I am having exactely the same problem when I put the prefabs in an entirely new project.
Using Unity 4.5

Using Unity 5, I get the error "OVRMainMenu.cs (250,43): error CS0117: UnityEngine.RenderMode does not contain a definition for 'World'.

Where can I get a prefab version working with Unity 5, please?
I did not find one in the Downloads section.

Thank you!

6 Replies

Replies have been turned off for this discussion
  • Unity 5 is still in beta, right? I had a whole lot of problems using Unity 5 when I tried it about a month ago, it seemed to me like it really wasn't ready to do any serious development with. You backed up your project before moving to Unity 5, right? In Unity 4 I had issues in the past where the prefabs from a new SDK only worked properly if I deleted the old ones, not the files so much (but that couldn't hurt) but the gameobjects from the actual project. After deleting them if I grabbed the prefab from the project view and dropped it in the scene it solved a lot of weirdness for me.
  • Anonymous's avatar
    Anonymous
    Unity5 is pretty much a lost cause right now, the most recent Unity integration for OVR is not compatible.

    Best stick to Unity 4.6
  • The RenderMode error is due to a name change in Unity. Replace "World" with "WorldSpace". Does the issue go away if you make that change? If not, try deleting the OVRUGUI.cs script from your project.
  • @vrdaveb Changing World with WorldSpace fixed it for me (Unity 5). I replaced it in two places. Thanks for the tip.
  • dhaval's avatar
    dhaval
    Honored Guest
    @vrdaveb Thanks for ur help...!!
    It worked...!!!!!!