Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.68f1
6000.3.10f1
6000.4.0b10
6000.5.0a7
Issue ID
UUM-134955
Regression
Yes
NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
Steps to reproduce:
- Open any Project
- Open the Search Window (Ctrl+K)
- Turn off Query Builder Mode (F1)
- 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- Long Sprite names are not truncated in the Inspector window name label and the preview labels when a Sprite with a long name is selected
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
- Nested LocalizedStrings can not query local variables
Add comment