Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.18f1
2021.1
2021.2
2022.1
Issue ID
1375617
Regression
No
Legacy Search engine does not return results in Hierarchy window when searching for scripts with "special" names
Steps to reproduce:
1. Open SampleScene in the attached "1375617_repro" project
2. In the Hierarchy window's search bar enter "Prefab"
Expected result: GameObject "Capsule" with a script component named "Prefab" is shown in the Hierarchy window
Actual result: no results are returned
Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.1f1, 2022.1.0a13
Notes:
- this issue occurs only when using Legacy\Classic Search engine
- tested a few other names that are not returned when searched for: "GameManager", "Folder"
- script named "GameManager" is returned when searched for in 2022.1.0a13
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
- [Editor] Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
Resolution Note:
The legacy hierachy search should find type if prefixed with t:, i.e. t:Prefab.