Search Issue Tracker

Fixed in 6000.4.0a6

Fixed in 6000.3.1f1

Votes

0

Found in

6000.3.0b1

Issue ID

UUM-116922

Regression

No

Undocking Search window after selecting Builtins/Reports throws NullReferenceException

Editor Window Management

-

Steps to reproduce:

  1. Open a Unity project
  2. Window → Search → New Window
  3. Immediately dock the Search window
  4. Ensure Toggle Search Query Builder Mode is ON
  5. Click Toggle Saved Search Panel
  6. In Builtins/Reports, select any option
  7. Undock the Search window

\\
Actual results: 
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Search.SearchQueryBuilderView.OnAttachToPanel (UnityEngine.UIElements.AttachToPanelEvent evt) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchQueryBuilderView.cs:73)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Events/EventCallback.cs:64)

{code}

Expected results: Undocking should not throw; SearchQueryBuilderView should reattach cleanly

\\
Reproducible with versions: 6000.3.0b1

Can’t test with versions: 6000.0.56f1, 6000.1.16f1, 6000.2.4f1, 6000.3.0a1 (No Builtin dropdown sections)

\\
Tested on (OS): Ubuntu 22.04, macOS 15.6

  1. Resolution Note (fix version 6000.4.0a6):

  2. Resolution Note (fix version 6000.3.1f1):

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.