Assets don't show up in serialized field asset window tab in Prefab view

This has been thing for a long time for most Unity versions I have used. When inside the prefab edit mode, when trying to assign a reference to a field on a component, the Asset window is always empty. Is there anyway to resolve this?

What particular versions doesn’t it work in? Seems to be working for me at least in the 2021.3 and 2023.2 projects I have open at the moment.

I barely used this asset popup as I almost always drag and drop references directly. Is by any chance that crossed out “eye” symbol (with the 23) at the top right corner involved here?

I was thinking that too, but it just toggles the visibility of assets that have come from packages.

1 Like

I’ve tried toggling that setting which doesn’t have any effect. I should mention this doesn’t happen for all assets. It only happens for Component references. So it will never show me prefabs with the ParticleSystem component, or some other component. Maybe that’s by design?

Yes the old object selector has never allowed you to select components from among your prefabs. I imagine this was done historically because you can’t find out this info without going through every prefab and checking all their components.

However in newer Unity versions you can turn on advanced search:
9882468--1425741--upload_2024-6-10_23-6-34.png

And then you can indeed find other prefabs with a particular component on them:
9882468--1425744--upload_2024-6-10_23-8-2.png

2 Likes

My saviour once again :,) thank you for giving your time to help fix this issue.

1 Like