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
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
- Video framerate is not restored when trying to raise it after lowering it to 10 FPS
- WebGPU: CreateRenderPipeline errors with ShaderVariantCollection warmup
Add comment