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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment