Search Issue Tracker
Fixed in 2021.3.23f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a7
Votes
0
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a24
2023.2.0a1
Issue ID
UUM-21929
Regression
Yes
[VFX] Errors are thrown to the console when undoing operation after editing exposed gizmos
How to reproduce:
- Open the attached package
- Select Torus GO in Hierarchy
- In Visual Effect panel (Scene View) select Torus in Gizmos dropdown
- Modify minorRadius value by dragging slider in exposed property
- Modify minorRadius value by dragging gizmos handle
- Select CTRL/CMD + Z or Edit -> Undo Modified Property
Actual result: Errors are thrown to the console
ObjectDisposedException: SerializedProperty m_PropertySheet.m_Float.m_Array.Array.data[2].m_Overridden has disappeared!
UnityEditor.SerializedProperty.get_boolValue () (at /Users/bokken/buildslave/unity/build/Editor/Mono/SerializedProperty.bindings.cs:1067)
UnityEditor.VFX.AdvancedVisualEffectEditor+GizmoContext+<>c_{_}DisplayClass17_0.<BuildValue>b{_}_0 (System.Collections.Generic.List`1[T] o) (at /Users/vita.skruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Inspector/AdvancedVisualEffectEditor.cs:601)
The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:196)
type is not a supported int value
UnityEditor.VFX.AdvancedVisualEffectEditor:OnSceneGUI ()
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure,UnityEditor.Editor)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Reproducible with: 2021.3.16f1
Not reproducible with 2021.2.16f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment