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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
The legacy hierachy search should find type if prefixed with t:, i.e. t:Prefab.