Unity 5 integration - tweak needed in OVR
Hello!
I'm new to both Unity and Oculus but am enjoying the steep (learning) curve!
Quick note - things that built in Unity 4.6 broke in Unity 5.
I got the following error message:
Assets/OVR/Scripts/Util/OVRMainMenu.cs(250,43): error CS0117: `UnityEngine.RenderMode' does not contain a definition for `World'
A quick search revealed the wonderful post (he has definitely sold a book to me - the writer for Manning):
http://rifty-business.blogspot.com/2015 ... ity-4.html
Who notes:
"To get the scene to build, I edited OVRMainMenu.cs and changed:
c.renderMode = RenderMode.World;
to
c.renderMode = RenderMode.WorldSpace;
in the two places where that line occurs."
Worked perfectly for me too...thought I'd share.
Back to work!
:-)
iw
I'm new to both Unity and Oculus but am enjoying the steep (learning) curve!
Quick note - things that built in Unity 4.6 broke in Unity 5.
I got the following error message:
Assets/OVR/Scripts/Util/OVRMainMenu.cs(250,43): error CS0117: `UnityEngine.RenderMode' does not contain a definition for `World'
A quick search revealed the wonderful post (he has definitely sold a book to me - the writer for Manning):
http://rifty-business.blogspot.com/2015 ... ity-4.html
Who notes:
"To get the scene to build, I edited OVRMainMenu.cs and changed:
c.renderMode = RenderMode.World;
to
c.renderMode = RenderMode.WorldSpace;
in the two places where that line occurs."
Worked perfectly for me too...thought I'd share.
Back to work!
:-)
iw
