Search Issue Tracker
Fixed in 11
Votes
0
Found in [Package]
10.1.0, 10.0.0-preview.27
Issue ID
1289959
Regression
Yes
[HDRP] NullReferenceException errors on assigning HD Render Pipeline Asset to None when any Custom Pass already assigned
NullReferenceException errors are thrown on assigning HD Render Pipeline Asset to none when any Custom Pass is already assigned.
Steps to repro:
1. Create a new HDRP template project.
2. Hierarchy > Volume > Custom Pass > Add FullScreenCustomPass.
3. Edit > Project Settings > Graphics.
4. Assign HD Render Pipeline Asset > None.
Actual Result:
NullReferenceException errors in the console.
Expected Result:
No errors in the console.
Reproducible in:
2021.1.0a4, 2020.2.0b10, 2020.2.0a20 with Package version 10.1.0, 10.0.0-preview.27.
Working Fine in:
2020.2.0b5 with Package version 9.0.0-preview.71.
Environment:
Occurring on Windows 10 & mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.HighDefinition.DrawRenderersCustomPassDrawer.ShowMsaaObjectInfo () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/drawrendererscustompassdrawer.cs:192)
UnityEditor.Rendering.HighDefinition.DrawRenderersCustomPassDrawer.DoPassGUI (UnityEditor.SerializedProperty customPass, UnityEngine.Rect rect) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/drawrendererscustompassdrawer.cs:140)
UnityEditor.Rendering.HighDefinition.CustomPassDrawer.OnGUI (UnityEngine.Rect rect, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassdrawer.cs:142)
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor+<>c__DisplayClass18_0.<CreateReorderableList>b__1 (UnityEngine.Rect rect, System.Int32 index, System.Boolean active, System.Boolean focused) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassvolumeeditor.cs:200)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <96da5fbbe3f6429982386da09c8521a8>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at <96da5fbbe3f6429982386da09c8521a8>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at <96da5fbbe3f6429982386da09c8521a8>:0)
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor.DrawCustomPassReorderableList () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassvolumeeditor.cs:179)
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor.OnInspectorGUI () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassvolumeeditor.cs:69)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <4d5a4b01276f4a4293277ed154d4fd84>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
- UITK TextField value is overwritten incorrectly by the converter result when Binding Mode is set to "To Source"
- Out of memory crash when selecting more than 80000 Assets simultaneously
- UI Toolkit Button text is not rendered when the Button has fixed height with specific Icon font
Resolution Note (fix version 11):
Fixed in Package Version: 11.0.0.