Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.17f1, 2023.2.0b11, 2023.3.0a6

Votes

2

Found in

2021.3.31f1

2022.3.6f1

2023.1.5f1

2023.2.0b2

2023.3.0a1

Issue ID

UUM-43926

Regression

No

NullReferenceException in UnityEngine.Rendering.HighDefinition.ProbeCameraCache<K>.Clear() when exiting the Player

--

-

How to reproduce:
1. Open the attached project "ProbeCameraCacheNullRefEx.zip"
2. Build And Run the project
3. In the Player press the “Esc” button on the keyboard

Expected results: The {layer exits without any errors
Actual results: "NullReferenceException: Object reference is not set to an instance of an Object." is thrown

Reproducible with: 2022.3.6f1, 2023.1.5f1, 2023.2.0b2, 2023.3.0a1
Could not test with: 2021.3.29f1 (compilation errors in the Console window)

Reproducible on: Windows 10

Comments (1)

  1. xortrox

    Oct 16, 2023 14:11

    At the surface level this might seem like a harmless bug but it's actually quite critical because it keeps the process from exiting properly, I always have to end the task in task manager -> details afterwards. At least on windows 10.

    Also happens in standalone build for 2023.1.16f windows 64 bit

    Target Platform: WindowS
    Architecture: Intel 64-bit
    Compression Method: Default
    Scripting Backend: IL2CPP
    Api Compatibility Level: .NET Framework

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.