corto icon indicating copy to clipboard operation
corto copied to clipboard

Problems with the unity plugin

Open AnanyaIG opened this issue 3 years ago • 1 comments

So while trying to run the unity project, I was getting a DLLNotFoundException by unity, so I tried to check the Load on startup option on the plugin menu, but that gave me this error Plugins: Failed to load 'Assets/Plugins/cortocodec_unity.dll' because one or more of its dependencies could not be loaded.

The line which was causing the DLLNotFoundException was this: IntPtr decoder = CreateDecoder(data.Length, data, decoderInfo);

Would you happen to know what's going on here?

AnanyaIG avatar Sep 16 '20 15:09 AnanyaIG

Hi, I know this is really old, but to any who come after -- you have to run the "make" command, move the build DLLs to your plugins folder and make sure you include both unity corto lib and regular one that were built. If you build on Mac, you get a .dylib and .a, build on Linux and you get a .so, and so on.

lalalune avatar Jun 15 '21 14:06 lalalune