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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Resolution Note:
The legacy hierachy search should find type if prefixed with t:, i.e. t:Prefab.