Skip to main content
Up and Coming
April 3, 2015

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

    24 replies

    Up and Coming
    April 10, 2015
    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
    Inspiring
    April 10, 2015
    I'm talking about the 0.5.0.1 (most recent as of today) Runtime and integration packages.

    https://developer.oculus.com/downloads/
    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
    Up and Coming
    April 10, 2015
    what is this exactyl runtime?which should i download and install?Is it "Oculus Runtime for Windows"?
    Inspiring
    April 10, 2015
    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
    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