Forum Discussion

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

LeapCSharp DllNotFoundException

After updating to the new SDK I have now a DllNotFoundException.
In the past I solved it by removing the Plugins/X86 folder, but it now contains Oculus files - so not sure that is the best way to go (and I do not know of the effects on non 64bit systems).

Anyone with an idea how to deal with this?

DllNotFoundException: LeapCSharp
Leap.LeapPINVOKE+SWIGExceptionHelper..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper
Leap.LeapPINVOKE..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Leap.LeapPINVOKE
Leap.Frame..ctor ()
LeapRecorder..ctor ()
HandController..ctor ()

1 Reply

Replies have been turned off for this discussion
  • Gerald's avatar
    Gerald
    Expert Protege
    "vrdaveb" wrote:
    Please put all your native x86 DLLs in the Plugins/x86 folder. If you put them up a level in the Plugins folder, Unity will ignore them.


    This solved it! :)