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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
- The Physics 2D Profiler module does not display the information about processed physics in the scene when profiling the application as a Development Build
- A Script Component that has a serialized custom class is not detecting changes in the first boolean variable when entering the Play mode with the Script Components GameObject opened in the Inspector
- “SendMessage cannot be called during Awake“ warnings appear when loading a scene with “LoadSceneAsync“ if using UI Toolkit in the scene
- Audio Source Spatial Blend value gets set to 1 in the WebGL Player when the Spatial Blend value is bigger than 0
Add comment