Skip to main content
Participant
October 27, 2014

[0.4.3] OVRManager.cs script does not compile

Hi to all, I'm in need for help. I've recently updated my project to use the new 0.4.3 Oculus software. I've followed the indications in the migration guide, and tried whatever I thought could solve the issue, but the code in OVRManager does not compile, it always throws an error saying that "event must be of delegate type", for the events HMDAdquired, HMDLost and so on... I do not know what I have to do :(.
I'm currently using Unity Pro 4.5.5f1, DX11, and HDR cameras with tonemapping (just in case these are relevant to the issue)
    This topic has been closed for replies.

    2 replies

    Inspiring
    October 27, 2014
    Do you have something in the namespace that redefines "Action"? You may need to remove it or do something like the following:

    public delegate void Action ();
    lmggAuthor
    Participant
    October 27, 2014
    Thanks a whole lot!! That seemed to be exactly the problem, there was an enum named Action in an old library of mine, I renamed it, and all works now. :D