Search Issue Tracker
Fixed
Fixed in 2021.3.23f1, 2022.2.14f1, 2023.1.0b9, 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
- Building 3D Sample Scenes (URP) Project fails
- 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
Add comment