Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.21f1
2021.2
2022.1
2022.2
Issue ID
1390464
Regression
No
Object Picker window does not display Assets when using Script Property
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. In the Hierarchy window, select the GameObject "Test"
4. In the Inspector window, under the "Test (Script)" component, click the small circle icon to the right of the Parent property
5. In the newly opened Object Picker window, select the Assets tab
6. Observe the listed Assets
Expected result: the Assets tab in the Object Picker window displays two Prefab Assets
Actual result: the Assets tab in the Object Picker window displays no Assets
Reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b3, 2022.2.0a1
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 (2022.2.X):
This is working by design.
The reason is the following:
Assets in Scene - These assets are already loaded in Memory, thus, they don't need to be loaded and so their data can be extracted for a minimal cost (i.e. the types present on the Prefab).
Assets in the Project - These assets are not necessarily loaded in memory, and so if we were to search for a particular type inside Prefabs, that means we would need to Load the Prefab into memory, and this takes time & memory. We would need to load ALL prefabs in a project if this was the case, and as such it would make searching prohibitively expensive.
One alternative would be for quicksearch to cache the Component Types available in a prefab, and use that data for future searches, but that is a feature.