Search Issue Tracker
Fixed in 7.2.0
Votes
0
Found in [Package]
7.1.6, 7.1.5
Issue ID
1201909
Regression
No
[VFX Graph] InvalidOperationException errors are thrown on resetting Visual Effect Graph preset asset after editing Gizmos
InvalidOperationException errors are thrown on resetting Visual Effect Graph preset asset after editing Gizmos.
Steps to repro:
1. Open the attached project.
2. GameObject > Visual Effects > Visual Effect.
3. Assign Asset Template to Bonfire > Create its preset.
4. Select Visual Effect preset > Edit Gizmos > Reset.
Actual Result:
Errors are thrown in the console.
Expected Result:
No errors in the console.
Working Fine with:
2020.1.0a15, 2019.3.0f2 (027dc118ae78), 2019.3.0a11.
Reproducible with Package Version:
7.1.6, 7.1.5, 7.1.2
Environment:
Windows 10 & Mac 10.14.
Stack trace:
SerializedProperty m_PropertySheet.m_Vector3f.m_Array.Array.data[0].m_Overridden has disappeared!
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
===============================================
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.get_boolValue () (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.VFX.AdvancedVisualEffectEditor+GizmoContext+<>c__DisplayClass19_1.<BuildValue>b__0 (System.Collections.Generic.List`1[T] o) (at Library/PackageCache/com.unity.visualeffectgraph@7.1.6/Editor/Inspector/AdvancedVisualEffectEditor.cs:580)
UnityEditor.VFX.AdvancedVisualEffectEditor+GizmoContext.get_value () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.6/Editor/Inspector/AdvancedVisualEffectEditor.cs:362)
UnityEditor.VFX.UI.VFXGizmoUtility.Draw (UnityEditor.VFX.UI.VFXGizmoUtility+Context context, UnityEngine.VFX.VisualEffect component, UnityEditor.VFX.VFXGizmo gizmo, System.Boolean forceRegister) (at Library/PackageCache/com.unity.visualeffectgraph@7.1.6/Editor/Gizmo/VFXGizmoUtility.cs:237)
UnityEditor.VFX.AdvancedVisualEffectEditor.OnSceneViewGUI (UnityEditor.SceneView sv) (at Library/PackageCache/com.unity.visualeffectgraph@7.1.6/Editor/Inspector/AdvancedVisualEffectEditor.cs:321)
UnityEditor.SceneView.CallOnSceneGUI () (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.SceneView.OnGUI () (at <ecdd03ded96446a99d9e657900410c98>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEditor.DockArea.OldOnGUI () (at <ecdd03ded96446a99d9e657900410c98>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <3b395df51d304a2aba4944c11905c08f>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 7.2.0):
Fix verified in VFX 7.2.0