Search Issue Tracker
Fixed in 6000.0.13f1
Fixed in 6000.0.X, 7000.0.0a4, future release
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version future release):
Search: Fixed navigating between Saved Searches resulting in broken search results.
Resolution Note (fix version 6000.0):
Search: Fixed navigating between Saved Searches resulting in broken search results.