patricksebastien / libpd4unity

libpd for unity 3d
101 stars 20 forks source link

Failed to load libpdcsharp.dll #12

Open moshang opened 8 years ago

moshang commented 8 years ago

After making a 64bit version of libpdcsharp.dll and placing it in the Unity.exe (version 5.2) directory, I get the following error:

Failed to load 'Assets/Plugins/libpdcsharp.dll' with error 'The operation completed successfully.
', GetDllDirectory returned ''. If GetDllDirectory returned non empty path, check that you're using SetDirectoryDll correctly.
LibPDBinding.LibPD:ReInit()
LibPDBinding.LibPD:ReInit()
LibPDBinding.LibPD:.cctor() (at Assets/LibPD/LibPDNativeMethods.cs:65)
LibPdFilterRead:Awake() (at Assets/LibPdFilterRead.cs:40)
LibPdFilterRead:Awake() (at Assets/LibPdFilterRead.cs:30)

I'd appreciate any suggestions. Thanks!

thefuntastic commented 8 years ago

I don't have any smart ideas, but I'm currently using the 32bit version of the Unity 5 editor (there is a direct download on the downloads page). This at least will allow you to debug whether there is a problem with your setup as I can verify the 32bit compiled dll included in this repo does work.

moshang commented 8 years ago

That's a good suggestion @thefuntastic , thanks. I'll give 32bit a Unity a go.

travisfoo commented 8 years ago

Were you able to get 64 bit working? I'm having a similar issue.