Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with the unity plugin #23

Open
AnanyaIG opened this issue Sep 16, 2020 · 1 comment
Open

Problems with the unity plugin #23

AnanyaIG opened this issue Sep 16, 2020 · 1 comment

Comments

@AnanyaIG
Copy link

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?

@lalalune
Copy link

lalalune commented Jun 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants