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
    This topic has been closed for replies.

    3 replies

    Inspiring
    February 7, 2015
    Thanks for sharing. I'll make a note of this error.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    March 6, 2015
    it is true will make my errors go. but will get Unity 5 to crash
    Up and Coming
    March 7, 2015
    Works like a charm for me using the last Unity 5 version, thanks !