Search Issue Tracker
Fixed
Votes
2
Found in [Package]
1.4.12
Issue ID
UVSB-989
Regression
No
[BOLT] Errors are thrown when moving a state in the State Graph of a Prefab game object
How to reproduce:
1. Open the attached 'project-1273011.zip' project
2. Select the 'GameObject' prefab in the Project window
3. In the Inspector window select 'Edit Graph'
4. Move the 'Start' state and release it
5. Observe the Console window
Expected result: no errors are thrown
Actual result: two errors are thrown
Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0b1
Thrown errors:
- InvalidOperationException: Decorated object is not valid: FlowState#53634...
- ArgumentException: Getting control 10's position in a group with only 10 controls when doing repaint
-
m0rhe1m
Oct 31, 2020 10:46
Update:
This issue appears only when another prefab opened and I try to edit the embedded script from the second object -
m0rhe1m
Oct 26, 2020 22:31
Same case for me. Unity 2019.4.11f
First:
InvalidOperationException: Decorated object is not valid: GetVariable#8f5db...
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].CreateDecorator (TDecorated decorated) (at Ludiq.Core.Editor/Decorators/SingleDecoratorProvider.cs:39)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator (TDecorated decorated) (at Ludiq.Core.Editor/Decorators/SingleDecoratorProvider.cs:253)
Ludiq.XCanvasProvider.Widget (Ludiq.ICanvas context, Ludiq.IGraphElement element) (at Ludiq.Graphs.Editor/Canvases/CanvasProvider.cs:44)
Ludiq.Canvas`1[TGraph].<get_alignableAndDistributable>b__141_0 (Ludiq.IGraphElement element) (at Ludiq.Graphs.Editor/Canvases/Canvas.cs:1237)
System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].GetCount (System.Boolean onlyIfCheap) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
Ludiq.Canvas`1[TGraph].OnToolbarGUI () (at Ludiq.Graphs.Editor/Canvases/Canvas.cs:1645)
Bolt.FlowCanvas.OnToolbarGUI () (at Bolt.Flow.Editor/FlowCanvas.cs:62)
Ludiq.GraphWindow.OnGUI () (at Ludiq.Graphs.Editor/Windows/GraphWindow.cs:508)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fb001e01371b4adca20013e0ac763896>: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 <fb001e01371b4adca20013e0ac763896>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.DockArea.OldOnGUI () (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)-----------------------
Second:ArgumentException: Getting control 12's position in a group with only 12 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <819de1aa368e45faa4f78e26c97c62b0>:0)
UnityEngine.GUILayoutUtility.DoGetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
UnityEngine.GUILayoutUtility.GetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
Ludiq.Canvas`1[TGraph].OnToolbarGUI () (at Ludiq.Graphs.Editor/Canvases/Canvas.cs:1647)
Bolt.FlowCanvas.OnToolbarGUI () (at Bolt.Flow.Editor/FlowCanvas.cs:62)
Ludiq.GraphWindow.OnGUI () (at Ludiq.Graphs.Editor/Windows/GraphWindow.cs:508)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fb001e01371b4adca20013e0ac763896>: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 <fb001e01371b4adca20013e0ac763896>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEditor.DockArea.OldOnGUI () (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <356f1ddb1d524ad59c7a2c95775bb38e>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
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
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
Resolution Note:
This bug is fixed in Version 1.5 it was tested with Editor 2019.4, 2020.2 and 2021.1