Forum Discussion
rahuloculus
11 years agoHonored Guest
UnityEngine.RenderMode Error
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
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
Replies have been turned off for this discussion
- cyberealityGrand ChampionWhich Unity version are you using specifically (i.e. Unity 5.0.0p3, etc.)?
- rahuloculusHonored GuestHello Cyberreality
i am using "Unity Pro v5.0.0b5" (64bit)
Thanks
Rahul - cyberealityGrand ChampionWould you mind updating to a new release of Unity (not beta)? Version 5.0.1 should work.
http://unity3d.com/get-unity - rahuloculusHonored GuestI already did...but not working too.
- cyberealityGrand ChampionI can check on this tomorrow. Feel free to send me a PM and remind me if you don't get an answer.
- rahuloculusHonored GuestCan someone help me plz to solve this issue?
- SAOTAHonored Guestif you double click on the error in the inspector/log it takes you to the error in the script.
there are two places/lines/errors where 'world' needs to be changed to 'worldspace'.
You should not be getting that error if you have changed these lines.
Please note, the image shows only one of these lines.
The other line of code is towards the end of the script. - rahuloculusHonored GuestAs i says in ealier post that when i open this main script and see those lines the word "WorldSpace" is already there.So i am confused why it is giving me error if that word "WorldSpace is already there.Please check attahed links for images.
http://s30.postimg.org/7vtazxz1p/image.jpg
http://s30.postimg.org/nri538pm5/image.jpg
http://s30.postimg.org/5m0lbg0q5/image.jpg - cyberealityGrand ChampionI was not able to reproduce this at all. I am checking to see if someone here knows more.
- vrdavebOculus StaffOlder Unity betas called it RenderMode.World. Can you try that instead?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 3 years ago