cancel
Showing results for 
Search instead for 
Did you mean: 

UnityEngine.RenderMode Error

rahuloculus
Honored Guest
Hello

I have unity 5 and when i import Unity Integration pacakge file and run the camera i get following error message.

"Assets/OVR/Scripts/Util/OVRMainMenu.cs(244,43): error CS0117: `UnityEngine.RenderMode' does not contain a definition for `WorldSpace'

I found the soltion on the forums that we have to change the .world into .worldSpace.But when i goes to mono developement and open OVRMainMenu.cs there is already .worldSpace so why i am getting this error.

I have latest Oclus Mobile SDK which is uploaded on 31st March 2015.

Thanks in advance
24 REPLIES 24

cybereality
Grand Champion
Can you start totally fresh? Meaning uninstall the Oculus software and the Unity editor, and then reinstall both most recent versions. Then start a new project and import the Oculus Unity integration and play in the editor without modifying anything.

rahuloculus
Honored Guest
which oculus software you are talking about?can you please send me the exact link and name,As i have alread tried several SDK but not working so i need exact versions of both unity and oclus SDK.

Thanks for helping and keep on replying..

Rahul

cybereality
Grand Champion
I'm talking about the 0.5.0.1 (most recent as of today) Runtime and integration packages.

https://developer.oculus.com/downloads/

rahuloculus
Honored Guest
what is this exactyl runtime?which should i download and install?Is it "Oculus Runtime for Windows"?

cybereality
Grand Champion
Yes, if you are on Windows, you would download this:

Oculus Runtime for Windows 0.5.0.1-beta


And then to develop with Unity you would download:

Unity 4 Integration 0.5.0.1-beta