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

Android - Unity as a Library -- Native libraries not loaded #83

Open
isaacmaxparker opened this issue May 30, 2023 · 0 comments
Open

Android - Unity as a Library -- Native libraries not loaded #83

isaacmaxparker opened this issue May 30, 2023 · 0 comments

Comments

@isaacmaxparker
Copy link

I have been searching for days, I used the exact same implementation guide as in the demo, which worked fine for the demo but when using it on my unity project I keep getting this error when I try and use mUnityPlayer.sendMessage() :

W/Unity: Native libraries not loaded - dropping message for #######.#########

I've looked through the the two projects to find a difference and the only one I see is that in the libs folder when they are exported unity exports multiple .aar folders in our project along with the unity-classes.jar file and just the unity-classes.jar file for the demo. The other difference is our project has these scripts nested instead of just on the top level folder.

I have tried multiple editor versions and that doesn't work either.

Do I need to change the implementation somehow to load the native libraries? Or is this a known bug.

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

1 participant