Search Issue Tracker

Fixed

Fixed in 6000.1.0b14, 6000.2.0a8

Votes

0

Found in

6000.2.0a7

7000.0.0a35

Issue ID

UUM-100969

Regression

Yes

NullReferenceException when opening Project Settings after changing the Color Space

-

Reproduction steps:
1. Create and open any new project
2. Go to Edit > Project Settings > Player
3. Under Other Settings tab change the Color Space (from “Gamma” to “Linear” or vice versa)
4. Close the Project Settings window
5. Open the Project Settings window again
6. Observe the Console

Expected result: No errors
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown

Reproducible with: 6000.2.0a1, 6000.2.0a7
Not reproducible with: 2022.3.60f1, 6000.0.43f1, 6000.1.0b3, 6000.1.0b11

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Notes:
- Reopening the project stops the errors
- Changing from Linear to Gamma Color Space also shows this warning: {{"Requested RenderTexture with sRGB format. sRGB formats are not supported in gamma mode, fallback to a UNorm format. Use a UNorm format instead of sRGB to silence this warning.}}
{{UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"}}. This warning is present from 6000.1.0b9 version and is shown in the 6000.1 stream as well

  1. Resolution Note:

    Postponed port

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.