Unity Searching in Hierarchy

when searching in hierarchy, is there a way I get the search results to only display ENABLED objects instead of everything?

So to clarify, say I search for “cube”, I get 1000 total objects found, but I have 800 of them DISABLED (greyed out), I want to see just the 200 that are actually ENABLED.

Thanks,

Vanz

I think you will need to use the new quick search method to do that (CTRL-K on windows).
Info here: https://docs.unity3d.com/2021.3/Documentation/Manual/search-scene.html

Demo here:
8144615--1057556--screenshot.png

Or you can switch your search engine to the ‘Advanced’ in the Preferences, then you can use the same stuff in the small search bar too (I think this is 2021.3+ only? I’m not sure.):

8144615--1057565--screenshot.png

3 Likes

thank you Lurking-Ninja

This is interesting. Does anyone know if there’s a way to do this only for objects that are active in the hierarchy (as opposed to locally active)?

I know that you can right click → copy property path on any button in the inspector, but there doesn’t seem to be a property that’s equivalent to gameObject.activeInHierarchy.

Would also be greatly interested in this. Did you manage to find an answer ?

Answered. Unity Searching in Hierarchy - #2 by system