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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 11):
Fixed in Package Version: 11.0.0.