When building APK and trying to launch I get this error. Same plugins if working with older engine version 2022 but not with 2023.
java.lang.UnsatisfiedLinkError: dlopen failed: library “libfmod.so” not found 09:42:22.186 Unity java.lang.UnsatisfiedLinkError: dlopen failed: library “libfmod.so” not found
Been having the same/similar issue on a school VR Project here with roughly same version (Unity 2023.2.3f), where we can’t seem to build the game on the Meta Quest 2, and we get this error on the splash screen:
AndroidJavaException: java.lang.UnsatisfiedLinkError: dlopen failed: library “libfmod.so” not found
We’re using FMOD 2.02 as far as I know.
If this thread finds a solution, me and the other 30+ students I’m working with would be happy to hear about it
I tried moving our branch of our project to version 2022.3.171f, however due to a substantial amount of compile errors from going back to an old version (and it would take a while to fix these changes), it would be difficult to go back to this older version - requiring a whole new set-up of VR controls and configuration.
However, we discovered a lot of files from FMOD has disappeared / been corrupted during Github transfers (standard pulling and pushes using Github Desktop), even though all assets were present, so we’re currently amending the issue by manually going through code and fixing errors.
…We’re still unsure about the issue(s) we’re running up against, but will update when we figure more out
Starting with Unity 2023, the default Application Entry Point for Android builds is GameActivity. In our project, when Activity is checked, it builds fine, but when GameActivity is checked, the same error occurs.
note:
Our project manages FMOD for Unity under Packages/ directory.
environments;
OS: WIndows 11
Unity: 2023.2.10f1
FMOD for Unity: 2.02.20
Target Platform: Android (Quest2)
Thank you for the information, I have been able to reproduce the issue with GameActivity. I have passed this on to our development team to look into further.
Is there a fix for this issue ? This is currently blocking us from upgrading to Unity 6 (6000.0.12f1) . We are using FMOD Unity Integration version 2.02.22 and developing for Meta Quest devices. The workaround mentioned above unfortunately is not applicable to us since Meta Quest applications require the Application Entry Point to be GameActivity.
Let me know if you need any other information, thank you.