Search Issue Tracker
Fixed in 10.x
Votes
0
Found in [Package]
9.0.0 preview.33.
Issue ID
1265631
Regression
No
[HDRP] InvalidOperationException & Serialized Property errors are thrown on resetting DefaultCompositionGraph profile
InvalidOperationException, Serialized Property and GUI errors are thrown on resetting DefaultCompositionGraph profile.
Steps to repro:
1. Create a new HDRP template project
2. Windows > Render Pipeline > HD Render Pipeline Compositor.
3. Enable Compositor > Project Window > Assets/Compositor.
4. Select DefaultCompositionGraph > Inspector > Reset.
Actual Result:
InvalidOperationException, Serialized Property and GUI errors in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a19, 2020.1.0f1, 2020.1.0b13 with Package version 9.0.0 preview.33.
Note: HDRP Compositor window introduced in 9.0.0 preview.33.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
SerializedProperty m_ShaderProperties.Array.data[0].propertyType has disappeared!
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.Verify (UnityEditor.SerializedProperty+VerifyFlags verifyFlags) (at <38ce119001c946f1aa8db3fba67839f5>:0)
UnityEditor.SerializedProperty.get_intValue () (at <38ce119001c946f1aa8db3fba67839f5>:0)
UnityEditor.Rendering.HighDefinition.SerializedPropertyExtension.GetEnumValue_Internal[T] (UnityEditor.SerializedProperty property) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/renderpipeline/hdeditorutils.cs:504)
UnityEditor.Rendering.HighDefinition.SerializedPropertyExtension.GetEnumValue[T] (UnityEditor.SerializedProperty property) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/renderpipeline/hdeditorutils.cs:321)
UnityEditor.Rendering.HighDefinition.Compositor.ShaderPropertyUI+<>c.<Draw>b__0_0 (UnityEditor.Rendering.HighDefinition.Compositor.SerializedShaderProperty x) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/compositor/shaderpropertyui.drawers.cs:13)
System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) (at <fb001e01371b4adca20013e0ac763896>:0)
System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEditor.Rendering.HighDefinition.Compositor.ShaderPropertyUI.Draw (System.Collections.Generic.List`1[T] propertyList) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/compositor/shaderpropertyui.drawers.cs:13)
UnityEditor.Rendering.HighDefinition.Compositor.CompositionManagerEditor.DrawCompositionParameters () (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/compositor/compositionmanagereditor.cs:64)
UnityEditor.Rendering.HighDefinition.Compositor.CompositionManagerEditor.OnInspectorGUI () (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/compositor/compositionmanagereditor.cs:174)
UnityEditor.Rendering.HighDefinition.Compositor.CompositorWindow.OnGUI () (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/editor/compositor/compositorwindow.cs:134)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <38ce119001c946f1aa8db3fba67839f5>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <38ce119001c946f1aa8db3fba67839f5>:0)
UnityEditor.DockArea.OldOnGUI () (at <38ce119001c946f1aa8db3fba67839f5>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <ce3db6dba5864866af33ee773cefeb25>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 10.x):
Fixed in Package version: 10.0.0-preview.27.