Unity-Technologies / uaal-example

Other
733 stars 233 forks source link

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

Open isaacmaxparker opened 1 year ago

isaacmaxparker commented 1 year ago

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.

harshil-gosquire commented 2 months ago

@isaacmaxparker were you able to resolve this?