Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

6000.0.40f1

6000.0.43f1

6000.1.0b11

6000.2.0a7

Issue ID

UUM-100350

Regression

Yes

Changing Environment Profiles in Lighting window throws "NullReferenceException" error

-

*Steps to reproduce:*
1. Create new HDRP Unity project
2. Open Lighting window (Window > Rendering > Lighting)
3. In Lighting window go to Environment tab
4. Press on Profile field
5. Select “DefaultLookDevProfile” Volume Profile
6. Observe the Console window

*Actual results:* "NullReferenceException" error is thrown after changing Profile field in Lighting window
*Expected results:* No errors thrown after changing Profile field in Lighting window

*Reproducible with versions:* 6000.0.40f1, 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
*Not reproducible with versions:* 2022.3.60f1, 6000.0.39f1

*Tested on (OS):* Apple M1 Mac, Sequoia 15.2

*Full error:* 
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.VolumeComponentListEditor.CreateEditor (UnityEngine.Rendering.VolumeComponent component, UnityEditor.SerializedProperty property, System.Int32 index, System.Boolean forceOpen) (at ./Library/PackageCache/com.unity.render-pipelines.core@481f548ebf36/Editor/Volume/VolumeComponentListEditor.cs:145)
UnityEditor.Rendering.VolumeComponentListEditor.RefreshEditors () (at ./Library/PackageCache/com.unity.render-pipelines.core@481f548ebf36/Editor/Volume/VolumeComponentListEditor.cs:205)
UnityEditor.Rendering.VolumeComponentListEditor.Init (UnityEngine.Rendering.VolumeProfile asset, UnityEditor.SerializedObject serializedObject) (at ./Library/PackageCache/com.unity.render-pipelines.core@481f548ebf36/Editor/Volume/VolumeComponentListEditor.cs:114)
UnityEditor.Rendering.VolumeProfileEditor.Init () (at ./Library/PackageCache/com.unity.render-pipelines.core@481f548ebf36/Editor/Volume/VolumeProfileEditor.cs:35)
UnityEditor.Rendering.VolumeProfileEditor.OnEnable () (at ./Library/PackageCache/com.unity.render-pipelines.core@481f548ebf36/Editor/Volume/VolumeProfileEditor.cs:22)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219
{code}

Add comment

Log in to post comment