How to better and easier clean project from redundant files?

Does any of you know simple way to find all the dependent elements of a given object from the hierarchy?

The point is that I would like to clean up my project so that it does not contain unnecessary textures,audios, etc.

At the moment I have to do everything manually guessing which elements are fit for removal.
The only thing that facilitates my work is to right-click on the element in ‘Project’ tab and use ‘Find references in Scene’, but this is not enough …

Any suggestions?

Hmm so i found this:

Simple editor reference scripts

And also now i have second method to find those references.
I duplicate object from hierarchy, make it as a prefab, select this prefab and right clik on it and choose select dependencies. After moving necessery files i delete prefab and duplicated object.

Still, if anybody have better solution please share it here :slight_smile:

Privacy & Terms