Please change inspector folder behavior

If you select a game object, and need to add a reference to a prefab, and so you go to the project view and navigate a few folders to find the prefab you want…

Unity will switch the Inspector to the last folder you clicked on.

There is NOTHING the inspector can do with folders. There is no information, no tags, nothing can be edited.

Why do this? It is purely worthless and wastes sooo much time because you have to go and find that game object you just had selected a minute ago.

Simply make the Inspector stick to the last GameObject selected and ignore folders. That’s the fix. Its incredibly simple and would save dozens of hours of dev time.

4 Likes

This is definitely a pet peeve and I agree with the idea that folders don’t need to change the inspector window. In the meantime, there’s a little trick you can do to mitigate this though. When looking at your first GameObject, you can click the little “padlock” icon in the top right of the inspector window. When the inspector window is locked, you can freely click on anything you want in the project window, hierarchy, or scene view and the inspector will not change to any new view. So you can safely browse around your project, find your prefab, and drag it in. Just don’t forget to unlock when you’re done!

2 Likes

Thanks, that’ll help save some time! Good tip, much appreciated.

But considering Inspector cannot do anything with folders, it shouldn’t inspect them to begin with.

I wonder why Unity instituted this? It wasn’t always this way. I’ve got my main project open in 2018.2.21, and clicking on folders in the Project window doesn’t affect the Inspector. Maybe they plan to actually add something interesting to the folder Inspector window in the future?

That’s not true, you can change the asset bundle that the folder is assigned to from the inspector.

This behaviour is still annoying though.