Skip to main content
Participant
March 16, 2015

Unity stopped working with OVR controller

Hi,

I'm stuck. For some reason Unity is now throwing warning messages when I bring the OVR controller into the project. I'm getting lots of warnings about
Assets/OVR/Scripts/Util/OVRUGUI.cs(92,24): warning CS0414: The private field `OVRUGUI.numOfGUI' is assigned but its value is never used
and many more similar fields it complains about. A couple of projects did still build ok, but now I'm not getting hardly anything that will run in the Rift - it's all gone a bit wrong.

I just recently moved to Unity Pro 4.6.3 from 4.6.2, but anyway, it was working ok yesterday so I'm wondering what's going on. If anyone has any tips how to proceed?
    This topic has been closed for replies.

    2 replies

    Inspiring
    March 16, 2015
    Well, 4.6.3 should work, and you should still be able to play the game even with the warnings.

    Are there any error messages in the log, or anything that would indicate it's not working?
    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
    Participant
    March 18, 2015
    thanks, your point helped me. I realised that it wasn't the build that was causing the issue, it's the PC that's connected to the Rift, so I'll just ignore the messages, the build works good on another machine.

    I best go and make another post about why does my PC runs like a dog for the Rift, with a Nvidia980 which worked fine up until a couple of days ago when I broke something somewhere...

    Cheers for now.
    ------ DK2's with: Win 7, Win 8.1, Kinect V2, Leap Motion, iMac, GTX970, GTX980, Titan GTX.