libpd4unity icon indicating copy to clipboard operation
libpd4unity copied to clipboard

Failed to load libpdcsharp.dll

Open moshang opened this issue 9 years ago • 3 comments

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!

moshang avatar Sep 22 '15 04:09 moshang

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.

thefuntastic avatar Sep 22 '15 08:09 thefuntastic

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

moshang avatar Sep 22 '15 14:09 moshang

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

travisfoo avatar Oct 27 '15 04:10 travisfoo