Search Issue Tracker
Active
Votes
3
Found in
2020.2.7f1
2020.3
2021.1
2021.2
Issue ID
1321977
Regression
No
Failed to load libmain.so when using Unity as a library and opening it in a sepparate Activity in Android app
How to reproduce:
1. Open attached project "uaal-bug-unity" in "uaal-bug.zip"
2. Enable export project in Build Settings
3. Build the project under .\uaal-bug\uaal-bug-native\unityAndroidBuild directory
4. Open "uaal-bug-native" in Android Studio
5. Click "Run 'app' "
6. When the app loads click the round button in the bottom right of the screen
Expected results: Unity Scene opens up
Actual results: This error pops up: Failed to load 'libmain.so'
Reproducible with: 2019.4.2561, 2020.3.61, 2021.1.6f1, 2021.2.0a16
Can't test with: 2018.4.34f1 - does not support AR
Reproducible with:
VLNQA00277, Asus ROG Phone, Android: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00006, Samsung Galaxy S7, Android: 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00121, Samsung Galaxy S9, Android: 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
N/A, Oneplus OnePlus Nord, Android: 10, GPU: Adreno (TM) 620
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment