Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0b9
Issue ID
919676
Regression
No
Object picker does not find a prefab with the required component if the prefab is in the Assets folder (not in Hierarchy)
To reproduce:
1. Open the project, attached by tester (objectPickerBug.zip)
2. Open the "NewScene" scene
3. Select the Test game object in Hierarchy
4. In the Inspector, try adding a value to "A" field by opening the Object Picker
5. Observe that object picker is empty
Expected: object picker finds the prefabs in the assets folder with the required component on them
Actual: object picker is empty, even though there is a prefab with the required component in the Assets folder
Reproduced in 5.4.5p2, 5.5.4f1, 5.6.1p2, 2017.1.0b9, 2017.2.0a3
Workaround: drag the prefab with the required component from the Assets folder into the field manually
-
liphttam1
Aug 03, 2021 11:54
A slow operation that I can choose to do is better than not having this extremely useful functionality.
-
IAndrewNovak
Jun 07, 2021 17:31
Any plans to add this feature with Quick Search package power?
-
tonycoculuzzi
Mar 02, 2021 15:20
The fact that this is "by design" makes no sense and is a huge hinderance to prefab-heavy workflows.
If I have a field:
Weapon weaponPrefab;
The object selector window should show me all the prefab assets with the Weapon component, otherwise why even show an Assets tab in the window if it's always going to be empty?
-
peaj_metric
Oct 08, 2020 15:35
Same problem here with ScriptableObjects in 2020.1.6f1.
On Type works the other one is empty -
Ziflin
Nov 01, 2019 04:52
This still is not working in 2019.3b4
-
Whatever560
Jun 11, 2019 11:56
Reproduced in 2017.4.22f1 Object picker only selecting scene objects but nothing from the Assets folder (weather its in resources or not)
-
tetto_green
Apr 06, 2018 23:08
Reproduced OS X Unity 2017.3.1f1. ScriptableObjects assets are not shown in the picker. It's weird, because I have 2 fields with different scriptableobjects types: the first one show nothing, the second one shows proper assets.
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
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
- Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Resolution Note (2017.1.0f3):
The Object Picker will only show Assets that have the same type as requested, it will not show the elements that contain the requested type. We do this because of performance reasons, otherwise, we would have to load all the assets to memory and search for all elements in a disk, this can be a quite slow operation.