Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.3.0, 2.2.2, 2.1.7, 2.1.0

Issue ID

1215580

Regression

Yes

[Post-Processing] InvalidOperationException errors are continuously thrown on resetting Post-processing profile preset asset

Package: PostProcessing

-

Post-processing profile preset properties disappear on resetting and InvalidOperationException errors are thrown continuously.

Steps to repro:
1. Open the attached Project.
2. Select Cube Profile in Project Window.
3. Create a Preset asset of Cube Profile.
4. Reset the preset.

Actual Result:
InvalidOperationException errors are thrown in the console.

Expected Result:
No errors in the console.

Workaround: Select any other object, errors will be gone.

Reproducible in:
2020.1.0a21, 2019.3.0f6 (27ab2135bccf), 2019.2.1f1, 2019.1.0f1 with Package Version 2.3.0, 2.2.2, 2.1.7, 2.1.0.

Working Fine in:
2019.1.0f1 with package Version 2.0.17.

Environment:
Occurring on Windows 10 & Mac 10.15.

Stack trace:
SerializedProperty settings.Array.data[0] has disappeared!
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.get_isExpanded () (at <4e49c0b908504769a79a7b9e3faf0087>:0)
UnityEditor.Rendering.PostProcessing.EditorUtilities.DrawHeader (System.String title, UnityEditor.SerializedProperty group, UnityEditor.SerializedProperty activeField, UnityEngine.Rendering.PostProcessing.PostProcessEffectSettings target, System.Action resetAction, System.Action removeAction) (at library/packagecache/com.unity.postprocessing@2.3.0/postprocessing/editor/utils/editorutilities.cs:269)
UnityEditor.Rendering.PostProcessing.EffectListEditor.OnGUI () (at library/packagecache/com.unity.postprocessing@2.3.0/postprocessing/editor/effectlisteditor.cs:176)
UnityEditor.Rendering.PostProcessing.PostProcessProfileEditor.OnInspectorGUI () (at library/packagecache/com.unity.postprocessing@2.3.0/postprocessing/editor/postprocessprofileeditor.cs:25)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <4e49c0b908504769a79a7b9e3faf0087>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <4e49c0b908504769a79a7b9e3faf0087>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <4e49c0b908504769a79a7b9e3faf0087>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <4e49c0b908504769a79a7b9e3faf0087>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.