Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
marcosource's avatar
marcosource
Honored Guest
12 years ago

Unhandled Exception Unity3D import OVR 0.4.3 into my project

This is an error that started cropping up when importing the 0.4.3 OVR pack into my Unity3D 4.5.3f3 project.
error message in console:

Internal compiler error. See the console log for more information. output was:
Unhandled Exception: Mono.CSharp.InternalErrorException: VerifyArgumentsCompat didn't find any problem with rejected candidate MethodBuilder [OVRGamepadController::GPC_GetAxis]

I can't see anything in the log that illuminates this error or I'd be able to fix it myself.
I can't figure out where the problem is.

:cry:

Anyone able to help with this one ?

5 Replies

  • I recall hearing of problems with 4.5.3. Can you update to 4.5.5 instead?
  • I'll give it a shot.
    The strange thing is that the error does not appear if it's on new projects.

    Thanks, I'll post the results when I've got that far.
  • Chris's avatar
    Chris
    Honored Guest
    I had the same problem and was able to solve it:

    Close Unity.
    Remove OVR Folder from the asset folder.
    Remove all oculus DLL's in your project folder.
    Start unity.
    Import new oculus sdk package.
    Have fun.

    I think the problem is, that unity loads the old dll while compiling and cannot replace the old dll.


    edit:
    That did not solve the problem entirely.

    If have something like this:

    VRGamepadController.GPC_GetAxis((int)OVRGamepadController.Axis.LeftXAxis)

    remove the cast. The signature of GPC_GetAxis changed and for some reason the compiler is not able to handle this.