Search Issue Tracker

Fixed

Fixed in 6000.5.0b2, 6000.6.0a2

Under Consideration for 6000.3.X

Votes

0

Found in

6000.0.68f1

6000.3.10f1

6000.4.0b10

6000.5.0a7

6000.6.0a1

Issue ID

UUM-134955

Regression

Yes

NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression

Search

-

Steps to reproduce:

  1. Open any Project
  2. Open the Search Window (Ctrl+K)
  3. Turn off Query Builder Mode (F1)
  4. In the Search Field enter string "count\{p:a:assets}"
  5. Turn on Query Builder Mode
  6. Right Click the Visual Query in the Search Field and select "Delete"
  7. 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

  1. Resolution Note:

    Fixed in 6000.6.0a2

  2. Resolution Note (fix version 6000.6.0a2):

    Fixed in 6000.6.0a2

  3. Resolution Note (fix version 6000.5.0b2):

    Fixed in 6000.5.0b2

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.