Search Issue Tracker
Fixed
Fixed in 6000.0.49f1, 6000.1.2f1, 6000.2.0b1
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}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
Add comment