Search Issue Tracker

Won't Fix

Votes

2

Found in [Package]

2.0.0a13

Issue ID

UVSB-940

Regression

Yes

Dragging a connection and deselecting does not close fuzzy finder causing errors.

Package: Visual Scripting Bugs

-

When dragging out a connection from a node the fuzzy finder opens. This is the expected behavior.
 
If you then drop the selection (right-click), the fuzzy finder stays open. Selecting a unit option, from the fuzzy list, results in a connection made to the deselected node. This should not be the expected behavior.
 
Once a selection is dropped. Opening another fuzzy finder, which is the instinct when dropping a selection. Creates the error.
{code:java}
InvalidOperationException: Cannot open two instances of the fuzzy window at once.
Unity.Bolt.FuzzyWindow.Show (UnityEngine.Rect activatorPosition, Unity.Bolt.IFuzzyOptionTree optionTree, System.Action`1[T] callback) (at /Users/johncrowe/Downloads/package/Editor/Bolt.Core/Interface/Fuzzy/FuzzyWindow.cs:342)
Unity.Bolt.UnityGUI.FuzzyDropdown (UnityEngine.Rect activatorPosition, Unity.Bolt.IFuzzyOptionTree optionTree, System.Object selected, System.Action`1[T] callback) (at /Users/johncrowe/Downloads/package/Editor/Bolt.Core/Interface/UnityGUI.cs:2592)
Unity.Bolt.FlowCanvas+<>c__DisplayClass22_0.<NewUnit>b__0 () (at /Users/johncrowe/Downloads/package/Editor/Bolt.Flow/FlowCanvas.cs:250)
Unity.Bolt.Canvas.ProcessUnclipCallbacks () (at /Users/johncrowe/Downloads/package/Editor/Bolt.Core/Canvases/Canvas.cs:2382)
Unity.Bolt.GraphWindow._OnGUI () (at /Users/johncrowe/Downloads/package/Editor/Bolt.Core/Windows/GraphWindow.cs:714)
Unity.Bolt.BoltEditorWindow.OnGUI () (at /Users/johncrowe/Downloads/package/Editor/Bolt.Core/Windows/BoltEditorWindow.cs:141)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:423)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:364)
UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:353)
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 /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:316)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:620)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:592)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:585)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:551)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:540)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:473)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Events/EventHandler.cs:77)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:84)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:318)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:281)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:161)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:278)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:459)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:209)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:74)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:28)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189){code}
Expected: When a connection is dropped the fuzzy finder should close or add nodes that are not connected to the deselected node. 

Tested Broken: Unity 2020.1.0f1, macOS, Bolt 2.0.0a13
Tested Working: Unity 2020.1.0f1, macOS, Bolt 2.0.0a10

Video Attached:ConnectingToDeselectedNode.mov

  1. Resolution Note:

    Bolt 2 will not be released as its own product. See https://forum.unity.com/threads/visual-scripting-roadmap-update-august-2020.951675/ for details.

Comments (2)

  1. Thane_5

    Oct 22, 2020 07:26

    I had this issue, but after updating to 1.4.13 it seems to be fixed

  2. XPOL555

    Sep 15, 2020 09:35

    there's an active forum discussion. Tested with 2020.1.4 and 2020.1.5 https://forum.unity.com/threads/bolt-mac-cannot-open-two-instances-of-the-fuzzy-window-at-once.938465/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.