Search Issue Tracker

Active

Votes

0

Found in

6000.0.23f1

6000.1.0a2

Issue ID

UUM-85617

Regression

Yes

[Android] Crash due to null pointer dereference when UnityPlayer.UnitySendMessage() is called in onCreate

--

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. Build and run the Android Player (File > Build And Run)
3. Observe the Player

Expected result: The Editor displays the default skybox
Actual result: The Editor displays a black screen or crashes on startup

Reproducible with: 6000.0.10f1, 6000.0.23f1, 6000.1.0a2
Not reproducible with: 2021.3.45f1, 2022.3.51f1, 6000.0.9f1

Reproducible environment: MacOS 14.6.1 (Intel), Windows 11 (user’s)
Not reproducible environment: No other environment tested

Reproducible on:
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00057, Htc One M9+ (HTC_M9pw), Android 6.0, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200
VLNQA00146, Htc 10 (HTC 10), Android 8.0.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00372, Samsung SM-G991U (SM-G991U), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660

Notes:
- The Player in the HTC One M9+ device crashes on startup while the rest of the devices display a black screen but still have the same crash log
- The issue occurs with both Release and Development type builds
- The crash does not produce a stack trace only a memory address

Crash logs:
10-24 16:31:36.869 7800 7800 E CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
10-24 16:31:36.869 7800 7800 E CRASH : Cause: null pointer dereference
10-24 16:31:36.869 7800 7800 E CRASH : r0 00000000 r1 dcd535a5 r2 00000000 r3 00000000
10-24 16:31:36.869 7800 7800 E CRASH : r4 00000000 r5 dcd535a5 r6 00000000 r7 ffc8e388
10-24 16:31:36.869 7800 7800 E CRASH : r8 f6fabe60 r9 ffc8e350 r10 abc660c0 r11 aad07d98
10-24 16:31:36.869 7800 7800 E CRASH : ip a0000000 sp ffc8e300 lr dcc20573 pc dcc205a8

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.