Search Issue Tracker

Fixed in 13.2.X



Found in [Package]


Issue ID




Error in "UnityEditor.Rendering.HighDefinition.HDLightExplorer" after creating new scene when Light Explorer window is opened

Package: SRP HD Template


Steps to repro:
1. Create the new HDRP project and scene;
2. Add empty gameobject;
3. In the Inspector click Add Component>Light;
4. In the context menu select Window>Rendering>Light Explorer;
5. In the context menu select File>New Scene and double-click on Empty;
6. Press Don't Save in the popup window.

Actual result:
Exception in NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.HighDefinition.HDLightExplorerExtension+<>c.<GetHDLightColumns>b__12_3 (UnityEngine.Rect r, UnityEditor.SerializedProperty prop, UnityEditor.SerializedProperty[] dep) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.2/Editor/Lighting/HDLightExplorerExtension.cs:244) is shown.
See attached video.
Regression introduced in-between Versions 2021.1 and 2022.2.

Expected result:
No errors are shown after creating new scene.

- Reproducible in Version 2022.2.0a1, 2020.3.25f1;
- Not reproducible in Version 2020.3.25f1;
- Reproducible on Windows.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.