In the Search Field enter string "count{p:a:assets}"
Turn on Query Builder Mode
Right Click the Visual Query in the Search Field and select "Delete"
Use your Undo Shortcut
Actual results: Error is logged "NullReferenceException: Object reference not set to an instance of an objectUnityEditor.Search.SearchFieldElement.MoveCursor (UnityEditor.Search.TextCursorPlacement moveCursor, System.Int32 cursorInsertPosition)(at <ee9cb65184aa4f0098eb2f495fd8e3cd>:0)"
Expected results: No Error is logged when undoing ** the deletion of a Visual Query Block of a Search Expression
Reproducible with versions: 2023.1.0a15, 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Not reproducible with version: 2023.1.0a14
Tested on (OS): Windows 11
Prioritise and Follow this issue
Have a workaround or additional info about this issue?