Some prefabs have no preview icon

Greetings fellow developers.

Ran into an issue recently and I’m worried it is causing problems in other areas of my game build. I might be totally off with this so here it goes.

Recently, many of my prefabs that are in my Project Hierarchy lost their preview icon. For example, I have 4 playable character prefabs - two of them are showing the contents of the prefab in their icon in the hierarchy, two of them show the default blue box, yet they are identical set-ups, only difference being the character model. These prefabs that show blue boxes did actually show the preview icon a couple weeks ago - but not anymore. I have lots of prefabs that are acting this way - some models of trees show the tree as the preview icon, others show the blue box. My game world is a procedural world and so I have things like trees and bushes set up on terrain “zones” - these zones are populated by the prefabs I associate with them in the UI for my package. This is where it becomes a problem because now half my prefabs associated with a zone are missing their preview icon, therefore, I cannot tell what prefab is tied to a zone as there is no preview - nor do I get a blue box icon in my Terrain UI - so I see lots of blank windows where I should see the prefab. Sorry if I lost you - does this sound familiar to anyone? Unity bug or maybe there is a way to tell Unity to go look at my hierarchy and regenerate those preview icons? Thanks in advance for taking the time to read this and if you have any suggestions.

I had the same problem with asset package which i purchased on asset store. All prefabs are just blue boxes.

TO solve this issue just select these prefabs then right mouse button and then hit Reimport

4 Likes

Solved my problem too. Thanks nicloay!

I couldn’t figure out why most of my prefabs were showing and some weren’t. I did get a couple of unwrapCL.exe errors during the initial import, maybe that caused parts of the import to fail.

THX nicloay