Search Issue Tracker
Fixed
Fixed in 2021.3.40f1, 2022.3.33f1, 6000.0.6f1, 7000.0.0a1
Votes
1
Found in
2021.3.37f1
2022.3.23f1
7000.0.0a1
Issue ID
UUM-68221
Regression
No
[Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
Reproduction steps:
1. Open the attached project “ReproProject”
2. Ensure IL2CPP is selected as the Scripting Backend at (menu: Edit > Project Settings > Player > Other Settings > Configuration)
3. Select ARM64 as the Target Architecture
4. Build And Run on an ARM64 Android device
5. Observe the Player
Expected result: The Player run successfully
Actual result: Player crashes immediately after launch
Reproducible with: 2021.3.37f1, 2022.3.23f1
Couldn’t test with: 2023.2.17f1, 6000.0.0b14 (Building Library\Bee\artifacts\Android\d8kzr\mwnjewhwvee2.o failed with output:
\Library\Bee\artifacts\Android\il2cppOutput\cpp\Misc.cpp(13,19): error: copying variable of type 'std::atomic<bool>' invokes deleted constructor std::atomic<bool> sKeepThreadsRunning = false;)
Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
Not reproducible with these devices:
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1
Testing environment: Windows 11 23H2 (22631.3007), macOS 14.3.1 23D60 Darwin 23.3.0 (User’s)
Not reproducible on: No other environment tested
Notes:
* Not reproducible with Mono Scripting Backend
* Not reproducible on Standalone (Windows) build
* Couldn’t test on IOS ( Project contains Android plugins with no IOS equivalents)
* All the devices tested above support ARM64 bit
First few lines of backtrace:
{noformat}#00 pc 000000000008dd14 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy_aarch64_simd+276) (BuildId: 02a91a85343debb2911714273ff2b670) 2024/03/26 15:58:27.776 29768 29768 Fatal DEBUG
#01 pc 000000000040176c /data/app/~~4ZsyUKIZ8MUbsx1-lb_paw==/com.DefaultCompany.IL2CPPcrashingoncalltonativecode-NLO2u5ItURRve6dr0louVA==/lib/arm64/libil2cpp.so (BuildId: 1d54f8a8c7041b9eaf8fcf198a6abf1e26ab5350) 2024/03/26 15:58:27.776 29768 29768 Fatal DEBUG
#02 pc 0000000000401608 /data/app/~~4ZsyUKIZ8MUbsx1-lb_paw==/com.DefaultCompany.IL2CPPcrashingoncalltonativecode-NLO2u5ItURRve6dr0louVA==/lib/arm64/libil2cpp.so (BuildId: 1d54f8a8c7041b9eaf8fcf198a6abf1e26ab5350) 2024/03/26 15:58:27.776 29768 29768 Fatal DEBUG
#03 pc 0000000000401178 /data/app/~~4ZsyUKIZ8MUbsx1-lb_paw==/com.DefaultCompany.IL2CPPcrashingoncalltonativecode-NLO2u5ItURRve6dr0louVA==/lib/arm64/libil2cpp.so (BuildId: 1d54f8a8c7041b9eaf8fcf198a6abf1e26ab5350){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Add comment