Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.22f1
2020.3
2021.1
2021.2
Issue ID
1323383
Regression
No
Prefabs with a script do not show up in the object picker when the field type is of the same script
How to reproduce:
1. Open the attached project "Prefab Variant Not Found In Asset Options.zip"
2. Open "SampleScene" scene (in "Scenes" folder)
3. Select "Reference Shows no Asset Options in Assets" GameObject in the Hierarchy
4. Open asset picker window for the "TargetMono" field in the Inspector
Expected result: Prefabs with "TargetMono" script show up
Actual result: No assets show up
Reproducible with - 2018.4.33f1, 2019.4.24f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This has never been possible. You can only search for component types in the Scene hierarchy because here the entire Prefab is loaded into memory. If searching for Prefab Assets in the Project with a specific component type it would require all Prefab Assets to be loaded into memory.
That said: The search engine is currently being improved so it will be possible in the future. See https://docs.unity3d.com/Packages/com.unity.quicksearch@3.0/manual/index.html