Image preview default inspector not working

As the title says, the image preview where the inspector shows you a thumbanil of any image file, its size and dimensions is gone, nothing so far seems to resolve it.

I have a fair amount of textures so this is a real headache.

Using Unity 2020.3.10f1

Any work around this?

Could try reimport all, maybe close / restart Unity, perhaps make a new project and drop ONE texture in there, see if it’s visible. Nothing new under the sun, just the same old computer troubleshooting tips you’d give your grandma! :slight_smile:

I suspect you just collapsed the info you need. Click on that double-line down there…

3 Likes

Nope.

The console throws an exception:

InvalidCastException: Specified cast is not valid.
UnityEditor.TextureImporterInspector.get_textureInspector () (at :0) …

Nope. Done that (new project, reimport all, even delete library folder) and still the issue pops, will try reinstall unity as last effort but project is not on the phase for a reinstall midway a heavy load sprint.

The error stops when entering to debug mode on the inspector. So the main suspect is the built-in GUI.

Of course, you miss the fancy inspector preview dock in debug, so not a solution, going back to normal console throws the same error, inspector preview missing

Oh neat! I would totally file a bug for that… Unity does fix stuff like this based on bug reports. Do it from an empty project because it tarballs your whole project up and sends it with the bug.