Forum Discussion
lmgg
12 years agoHonored Guest
[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)
I'm currently using Unity Pro 4.5.5f1, DX11, and HDR cameras with tonemapping (just in case these are relevant to the issue)
2 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffDo 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 ();
- lmggHonored GuestThanks 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
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago