I am new with Oculus Rift and Unity. Well I am trying to integrate Oculus Rift(0.7 Runtime and SDK) with Unity 5.2.1f1 version. But I am getting following error message : Assets/OVR/Editor/OVRGameView.cs(48,52): error CS1061: Type `OVRDisplay' does not contain a definition for `SetViewport' and no extension method `SetViewport' of type `OVRDisplay' could be found (are you missing a using directive or an assembly reference?).
I searched this error everywhere, but not getting anything on it. I need you help guys, if anyone knows the fix for this or any suggestion would be great.
I re-installed Unity of version 5.2.1p3, but I am still getting the same error message: Here is the error message : Assets/OVR/Editor/OVRGameView.cs(48,52): error CS1061: Type `OVRDisplay' does not contain a definition for `SetViewport' and no extension method `SetViewport' of type `OVRDisplay' could be found (are you missing a using directive or an assembly reference?)
OVRGameView should not be in your project. Can you remove it? It sounds like you didn't remove the Unity 4 integration from your project before installing the Unity 5 utilities. Can you delete the OVR folder and all Oculus files from the Plugins folder?