Skip to main content
Up and Coming
February 7, 2015

Unity 5 BETA: OVRMainMenu.cs ".World;" error fix

This post should go into the Unity Integration sub-forum but my browser won't let me post there for some reason.

When you try to compile with some BETA versions of Unity 5 you get this error:

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

In an editor edit the OVRMainMenu.cs code so that all instances of ".World;" are now ".WorldSpace;"

You will be good to go with no compile errors