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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Add comment