1. 程式人生 > 其它 >由於Unity版本原因會導致部分安卓11crash

由於Unity版本原因會導致部分安卓11crash

臺灣一個三星s10+手機

https://issuetracker.unity3d.com/issues/android-il2cpp-empty-project-crashes-on-launch-with-using-memoryadresses-from-more-than-16gb-of-memory-messages

 

[ANDROID][IL2CPP] APP CRASHES DURING LAUNCH WITH "USING MEMORYADRESSES FROM MORE THAN 16GB OF MEMORY" MESSAGES ON ANDROID 11-

Oct 12, 2020

Repro steps:
1. Create a new project
2. Switch build target to Android
3. Set Scripting Backend to IL2CPP and Target Architecture to ARM64
4. Build and Run on Android (might need to be flashed with HWASan)

Actual: App crashes on launch before the splash screen

Reproducible with: 2018.4.28f1, 2019.4.13f1. 2020.1.10f1, 2020.2.0b8, 2021.1.0a1

Tested and reproduced on:
Google Pixel 3 XL - (AOSP on crosshatch), Android 11, CPU: Qualcomm SDM845 Snapdragon 845, GPU: Adreno (TM) 630

Didn't reproduce on:
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00318, Oneplus 7Pro (GM1913), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
N/A, Oneplus OnePlus 6 (ONEPLUS A6003), Android 10, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630

Notes:
- Didn't reproduce on factory Android 11 with an empty project
- Reproduces only when targeting ARM64

 

記錄一下這個 問題

升級部分版本或者可以避免這個問題