Search Issue Tracker

Duplicate

Votes

0

Found in

2021.2.0b4

2021.2.0b12

2022.1

Issue ID

1367737

Regression

Yes

[ARCore][Android][IL2CPP] DllNotFoundException: Unable to load DLL 'UnityARCore' error is thrown when project built to ARM64

Android

-

Reproduction steps:
1. Open the attached project "Test.zip"
2. Go to File > Build Settings
3. Select Player Settings
4. In Player Settings select Other settings
5. In Other settings select ARM64 and unselect ARMv7 Target Architecture
6. Build and install the app on the device
7. Open the Android Logcat and observe the error

Expected result: No errors are thrown, no black screen on a device
Actual result: Error is thrown: "Error Unity DllNotFoundException: Unable to load DLL 'UnityARCore'. Tried the load the following dynamic libraries: Unable to load dynamic library 'UnityARCore' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "UnityARCore" not found", black screen on a device

Reproducible with: 2021.2.0b4, 2021.2.0b12, 2022.1.0a10
Not reproducible with: 2020.3.20f1, 2021.1.22f1
Could not test with: 2019.4.31f1 (Console errors when project is downgraded), 2021.2.0a1 - 2021.2.0a20, 2021.2.0b1 - 2021.2.0b3 (Console errors when building the project)

Reproducible devices:
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), OS: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00121 - Samsung Galaxy S9 (SM-G960F), OS: 9.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880

Not reproducible with these devices:
VLNQA00109 - Xiaomi Mi Note Pro (MI NOTE Pro), OS: 7.0.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno 430

Notes:
- In the 2022.1.0a10 Unity version when the application starts on the device, the camera works, but the error still appears

  1. Resolution Note:

    Fixed issue where Unity was checking CPU meta data for plugins which were CPU agnostic - jar, aar, files, etc.

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.