Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2020.3
2021.1.16f1
2021.2
2022.1
Issue ID
1394782
Regression
Yes
[Android] Crash with signal 11 caused by null pointer dereference on Android device when using Vulkan Graphics API
Reproduction steps:
1. Open the attached user's Unity project "ProjectBirdWar.zip"
2. Go to File > Build Settings and switch to Android Platform
3. Go to Player Settings and make sure that Vulkan Graphics API is selected
4. Go back to Build Settings
5. Build and install the application on a device
6. Observe the application on a device
Expected result: The application does not crash
Actual result: The application crash
Reproducible with: 2020.3.15f1, 2020.3.27f1, 2021.2.11f1, 2022.1.0b6
Not reproducible with: 2019.4.35f1
Could not test with: 2020.3.14f1 (Build fails), 2022.2.0a4 (devices thrown Error message: "Unable to initialize the Unity Engine")
First lines of Development Build stacktarce:
Error CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70
Error CRASH Cause: null pointer dereference
Error CRASH x0 0000000000000058 x1 0000006f9a0cac7e x2 0000006f91000000 x3 0000006faa3b72e8
Error CRASH x4 0000006faa3b72c8 x5 0000000000000004 x6 000000000029b6f8 x7 000000000029b9f8
Error CRASH x8 0000000000000000 x9 3f894b5f6114989c x10 3f894b5f6114989c x11 00000000000000ca
Reproduces with these devices:
VLNQA00147 - Razer Phone (Cheryl), OS: 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno 540
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00263 - Google Pixel 3 (Pixel 3), OS: 12.0.0, CPU: Snapdragon 845, GPU: Adreno 630
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880
VLNQA00404 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
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
Notes:
- Issue is not reproducible when using OpenGLES3 Graphics API
- Only Razer Phone (Cheryl) and Asus ROG Phone (ASUS_Z01QD) devices prints logs when the application crashes
- When building the project with 2020.3.14f1 and versions below - the build fails
-
xurshudyan-narek
Feb 29, 2024 12:20
2022.3.10f1 same problem
-
sikanderh1322
May 23, 2023 13:04
Same here at Unity 2022.3.46f1
-
Haraven
Mar 18, 2023 07:31
Posting a follow-up in case anyone else runs into this issue: for my project, the issue was caused by having ARM64 enabled when using the IL2CPP scripting backend.
I went Edit -> Project Settings -> Player -> Android -> Other Settings -> scrolled down to "Scripting Backend" -> unchecked ARM64. After rebuilding, I had no more issues.
-
Haraven
Mar 18, 2023 07:07
This is not fixed. It has been happening since Unity 2022.1.24f1, and every stable version since then (incl. 2022.2 versions) has had this issue.
-
3DNewsman
Jan 05, 2023 00:10
We got this on 2022.2.1f1, Meta Quest 2, Vulkan.
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
Cause: null pointer dereferenceIt points to arm64/libunity.so
-
marting_unity
Oct 28, 2022 09:38
In which 2020.3.X version was fixed this?
-
qwertyphoon
Sep 21, 2022 05:31
Still happening in 2022.1.14f1
-
vikchokov
Sep 16, 2022 15:09
it is still happening, Unity 2021.3.9f1, I don't use Mobile Notifications
-
pablo_leban
Sep 07, 2022 22:12
@SPIKYWORM5 I'm also using Mobile Notifications 2.0.2
-
pablo_leban
Sep 07, 2022 22:05
Still happening in 2021.3.9f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a9
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b15
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.1f1