Search Issue Tracker

Active

Fixed in 6000.0.13f1

Votes

0

Found in

2023.2.12f1

2023.2.20f1

6000.0.10f1

Issue ID

UUM-75505

Regression

Yes

[Search] Navigating between Saved Searches carries over all results and can result in a NullReferenceException

--

-

*Steps to reproduce:*

1. Open a new Unity project

2. Open a Search Window with ctrl + k

3. Type in 'Main Camera' into the Search Field, then turn this into a saved search by clicking the save icon and pressing 'Save User'

4. Type in 'Player' into the Search Field, then turn this into a saved search by clicking the save icon and pressing 'Save User'

5. Close and re-open the search window (not required but makes repro steps easier)

6. Open the 'Open Saved Searches Panel' and load the 'Player' saved search by left clicking on it. While this number may differ, it should give around 8 results 

7. Load the 'Main Camera' saved search by left clicking on it.

*Actual results:*  The Main Camera search shows 8 results (same number as player search), but only one of these is a valid result for the search (the other results will have been carried over from the 'Player' search. The 'Main Camera' search will only have replaced the first result). Pressing on any of the carried over results will result in a 'NullReferenceException'.

*Expected results:* The Main Camera search will show it's 1 result and no results will be carried over from the 'Player' search

*Reproducible with versions:* 
* 6000.0.10f1
* 2023.2.20f1
* 2023.2.12f1

*Not reproducible with versions:* 
* 2023.2.11f1
* 2022.3.36f1
* 2021.3.40f1

*Can’t test with versions:* 

*Tested on (OS):* Windows 11

*Notes:*
* The repro steps above show the bug occurring when the first loaded search has more results than the second. If the first loaded search has less results than the second, then the second loaded search will not show all of its results and will be limited by the number of results of the first search.

  1. Resolution Note (fix version 6000.0.13f1):

    Search: Fixed navigating between Saved Searches resulting in broken search results.

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.