Search Issue Tracker

Fixed in 2022.1.9f1

Votes

0

Found in

Issue ID

1379874

Regression

No

[Search] legacy search query doesn't open in 21.2

Quick Search

-

1- Adds the attach query to your project.
2- Open the Save Searches panel (press F3)
3- Execute the added search query

What happens: see that the console prints an errror

ArgumentException: columns array should at least have one column: it is empty
Parameter name: columns
UnityEditor.IMGUI.Controls.MultiColumnHeaderState..ctor (UnityEditor.IMGUI.Controls.MultiColumnHeaderState+Column[] columns) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.Search.PropertyTable+PropertyTableColumnHeader..ctor (UnityEditor.Search.ITableView tableView) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.PropertyTable..ctor (System.String serializationUID, UnityEditor.Search.ITableView tableView) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.TableView.UpdatePropertyTable () (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.TableView.SetSearchTable (UnityEditor.Search.SearchTable tableConfig) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.TableView.SetViewState (UnityEditor.Search.SearchViewState viewState) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.QuickSearch.SetViewState (UnityEditor.Search.SearchViewState viewState) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.QuickSearch.ExecuteSearchQuery (UnityEditor.Search.ISearchQuery query) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.SearchQueryAssetTreeViewItem.Open () (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.SearchQueryTreeView.SingleClickedItem (System.Int32 id) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.IMGUI.Controls.TreeViewController.HandleUnusedMouseEventsForItem (UnityEngine.Rect rect, UnityEditor.IMGUI.Controls.TreeViewItem item, System.Int32 row) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem item, System.Int32 row, System.Single rowWidth, System.Boolean hasFocus) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (System.Int32 firstRow, System.Int32 numVisibleRows, System.Single rowWidth, System.Boolean hasFocus) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (UnityEngine.Rect rect, System.Int32 keyboardControlID) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.IMGUI.Controls.TreeView.OnGUI (UnityEngine.Rect rect) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.Search.SearchQueryTreeView.OnGUI (UnityEngine.Rect rect) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.QuickSearch.DrawSideBar (UnityEngine.Event evt, UnityEngine.Rect areaRect) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.QuickSearch.DrawPanels (UnityEngine.Event evt) (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.Search.QuickSearch.OnGUI () (at <32033e65d2984963b627a60ff65c9ab2>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.DockArea.OldOnGUI () (at <12f9706bdb064a6c8a1d1b6f565a0097>: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 <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToRegularTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel iPanel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <747b78853467428797e4a32ad808a642>:0)

  1. Response avatar

    Resolution Note (fix version 2022.1.9f1):

    Fixed in: 2022.2.0a1

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.