Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.2.0b4

2021.2.11f1

2022.1

2022.2

Issue ID

1404537

Regression

Yes

[Mono] "DllNotFoundException" error is thrown in the Android logs when building project on devices with OS 5.1.1

Mono

-

Reproduction steps:
1. Open the attached user's Unity project "AndroidBuildDebugging.zip"
2. Navigate to Assets > Scenes folder
3. Open "test.unity" Scene
4. Go to File > Build Settings and switch to Android Platform
5. Go to Player Settings and make sure that Mono Scripting Backend is selected
6. Go back to Build Settings
7. Build and install the application on a device
8. Open the Android Logcat window and observe errors

Expected result: No errors are thrown in the Android Logcat
Actual result: Error is thrown in the Android Logcat: "DllNotFoundException: /data/app/com.DefaultCompany.AndroidBuildDebugging-1/lib/arm/libmono-native.so assembly:<unknown assembly> type:<unknown type> member:(null)"

Reproducible with: 2021.2.0b4, 2021.2.17f1, 2022.1.0b14, 2022.2.0a9
Not reproducible with: 2019.4.37f1, 2020.3.32f1
Could not test with: 2021.2.0a1 - 2021.2.0b3 (Build failure)

Reproduces with these devices:
VLNQA00034 - Google Nexus 4 (mako), OS: 5.1.1, CPU: Snapdragon S4 Pro APQ8064, GPU: Adreno 320
----------, Asus Nexus 7 (2012) (Nexus 7), Android 5.1.1, CPU: nVIDIA Tegra 3 T30L, GPU: NVIDIA Tegra 3
(User's info) Nexus 10 Tablet, OS: 5.1.1

Not reproducible with these devices:
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880
VLNQA00121 - Samsung Galaxy S9 (SM-G960F), OS: 9.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00219 - Samsung Galaxy Note9 USA (SM-N960U), OS: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00147 - Razer Phone (Cheryl), OS: 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno 540
VLNQA00404 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
VLNQA00022 - Xiaomi Redmi Note 3 (Redmi Note 3), OS: 6.0.1, CPU: Snapdragon 650 MSM8956, GPU: Adreno 510
VLNQA00070 - LENOVO PHAB2 Pro (Lenovo PB2-690M), OS: 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno 510
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720

Notes:
- The issue is not reproducible when Scripting Backend is set to IL2CPP

  1. Resolution Note (2022.2.X):

    Mono is not shippable (development only)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.