Forum Discussion

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

Error Unity 4.6.X

Hello Oculus Community :)

I have an old version for unity (4.6) and when i install the package "OculusUtilities" this error appear and cannot compile the game :

[color=#FF0000]Assets/OVR/OVRCameraRig.cs(27,24): errir CS0234: Type or namespace 'VR' does not exist in the namespace 'Unity Engine". Are you missing an assembly reference?[/color]


Thank you for your help :D

2 Replies

Replies have been turned off for this discussion
  • drash's avatar
    drash
    Heroic Explorer
    Oculus Utilities is basically a wrapper that uses the built-in Unity VR functionality, which is only available starting in Unity 5.1.something (I forget exactly which subversion). So, if you want to use Unity 4.6.x, you'll need to stick with the legacy PC or Mobile integration instead.

    Hope that helps!