Search Issue Tracker
Fixed in 10.0.0-preview.27
Votes
0
Found in [Package]
8.2.0
Issue ID
1263071
Regression
Yes
[HDRP] Scene/Game view does not render anything with NullReference on undoing after removing Micro shadow overrides
Scene view & Game view does not render anything with NullReference on pressing CTRL+Z after removing shadow overrides in Sky and Fog Volume.
Steps to repro:
1. Create a new HDRP template project
2. Hierarchy > Sky & Fog Volume > Inspector.
3. Add Override > Shadowing > Micro Shadows.
4. Remove "Micro Shadow" override.
5. Press CTRL + Z.
Actual Result:
-NullReferenceException is thrown in the console.
-Nothing is rendered in the Scene/Game view
Expected Result:
-No errors in the console.
-Everything is rendered properly in Scene/Game view.
Reproducible in:
2020.2.0a18, 2020.1.0b16 with 8.2.0.
Working Fine in:
2020.2.0a18 With Package Version 9.0.0, 8.1.0
Environment:
Occurring only on Windows.
Stack trace:
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@8.2.0/editor/volume/volumecomponentlisteditor.cs:133)
UnityEditor.Rendering.VolumeComponentListEditor.RefreshEditors () (at library/packagecache/com.unity.render-pipelines.core@8.2.0/editor/volume/volumecomponentlisteditor.cs:170)
UnityEditor.Rendering.VolumeComponentListEditor.OnGUI () (at library/packagecache/com.unity.render-pipelines.core@8.2.0/editor/volume/volumecomponentlisteditor.cs:204)
UnityEditor.Rendering.VolumeEditor.OnInspectorGUI () (at library/packagecache/com.unity.render-pipelines.core@8.2.0/editor/volume/volumeeditor.cs:207)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:535)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:432)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note (fix version 10.0.0-preview.27):
Fixed in package version 10.0.0-preview.27