Search Issue Tracker

Active

Votes

0

Found in

6000.0.40f1

6000.1.0b8

6000.2.0a5

Issue ID

UUM-98306

Regression

Yes

[Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application

-

How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “SampleScene“
3. Build for Android and install the app on the device
4. Clean the logcat “adb logcat -c“
5. Start the logcat “adb logcat > [Filename].txt“
6. Open the app

Expected result: The “NullReferenceException: Object reference not set to an instance of an object“ logged in the logcat
Actual result: The “NullReferenceException: Object reference not set to an instance of an object“ is not logged in the logcat

Reproducible with: 2023.2.0a18, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Not reproducible with: 2022.3.59f1, 2023.2.0a17

Reproducible environment: macOS 15.2 (M4 Max), Windows 10 (22H2), Windows 11 (Reporters)
Not reproducible environment: No other environment tested

Reproducible with these devices:
macOS 15.2 (M4 Max) (Editor Play Mode + Android Build Support module)
Windows 10 (22H2) (Editor Play Mode + Android Build Support module)
macOS 15.2 (M4 Max) (Editor Play Mode + iOS Build Support module)
VLNQA00375, Samsung Galaxy S21+ 5G (SM-G996U), Android 11, CPU: Snapdragon 888, GPU: Adreno (TM) 660
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00518, Google Pixel 4 (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00232, iPhone 8 Plus (MQ8M2ET/A), CPU: Apple A11 Bionic, GPU: Apple designed, OS: 16.7.10

Not reproducible with these devices:
VLNQA00107, Huawei Nexus 6P (Nexus 6P), Android 8.1.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430

Notes:
- Does not reproduce in the Editor if the Android or iOS Build Support module is not chosen (a.k.a does not reproduce with macOS and Windows Build Support)
- Only reproduces with Vulkan and Metal, does not reproduce with OpenGLES3 Graphic API when testing with the devices
- After un-toggling “Compatibility Mode (Render Graph Disabled)” the issue stops reproducing
- Reproducible with “Forward“ and “Forward+“
- If testing in the Editor, the Game/Simulator view must be in focus for the issue to reproduce

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.