Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨

2 Replies

Replies have been turned off for this discussion
  • You actually just need to change this:

    #if (UNITY_5_0)
    // TODO: Unity 5.0b11 has an older version of the new GUI being developed in Unity 4.6.
    // Remove this once Unity 5 has a more recent merge of Unity 4.6.
    c.renderMode = RenderMode.World;
    #else
    c.renderMode = RenderMode.WorldSpace;
    #endif
    c.pixelPerfect = false;
    #endif


    (starts at line 247 and 960!)
    to this (2 times in the OVRMainMenu.cs!):

    	        c.renderMode = RenderMode.WorldSpace;
    #endif
    c.pixelPerfect = false;


    then you do get alot of warnings but they don't harm you! Hope this helps...

    EDIT! I have just found out that the warnings are easily removed by changing the values recommended!
    i.e:
    r.castShadows = false;


    change this to:
    r.shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.Off;


    and the other variables that are in OVRMainMenu.cs just change those that are said to not be used anywhere to public variables instead of private's as they are when importing SDK 0.4.4!

    Cheers.