Search Issue Tracker

Fixed in 10.3.0

Votes

0

Found in [Package]

10.1.0

Issue ID

1290618

Regression

Yes

[HDRP] InvalidOperationException errors are thrown on changing Custom Pass index in Custom Pass Volume

Package: Scriptable Render Pipeline HD

-

-Custome Pass renderer disappears along with InvalidOperationException on changing Custom Pass renderers index.
-Custom Pass list option disappears.
-There is no workaround, and the list itself disappears with continuous errors in the console. User cannot add any Custom Pass due to list disappearance.

Steps to repro:
1. Create a new HDRP template project.
2. Hierarchy > Volume > Custom Pass.
3. Add FullScreenCustomPass > Add Custom Clear.
4. Drag the Custom Clear to top of the list.

Actual Result:
InvalidOperationException error in the console.

Expected Result:
No errors in the console.

Reproducible in:
2021.1.0a5 with Package version 10.1.0.

Working Fine in:
2021.1.0a4, 2020.2.0b11 with Package version 10.1.0.

Environment:
Occurring on Windows 10 & Mac 10.15.

Stacktrace:
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.Verify (UnityEditor.SerializedProperty+VerifyFlags verifyFlags) (at <20090764902e4293871cd9b1a16b42f1>:0)
UnityEditor.SerializedProperty.get_boolValue () (at <20090764902e4293871cd9b1a16b42f1>:0)
UnityEditor.Rendering.HighDefinition.CustomPassDrawer.GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassdrawer.cs:256)
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor+<>c__DisplayClass18_0.<CreateReorderableList>b__2 (System.Int32 index) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassvolumeeditor.cs:213)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <20090764902e4293871cd9b1a16b42f1>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <20090764902e4293871cd9b1a16b42f1>:0)
UnityEditorInternal.ReorderableList.GetHeight () (at <20090764902e4293871cd9b1a16b42f1>:0)
UnityEditor.Rendering.HighDefinition.CustomPassVolumeEditor.DrawCustomPassReorderableList () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/editor/renderpipeline/custompass/custompassvolumeeditor.cs:174)
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__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <a6a005afc2b4452b8438a54c51eab950>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

  1. Resolution Note (fix version 10.3.0):

    Fixed in Package version 10.3.0.

  2. Resolution Note (fix version 10.3.0):

    Fixed in Package version 10.3.0.

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.