Finding assets not in use

9.9k Views Asked by At

Is there a way to know what is of all my GO, textures, sounds, etc, are not in use in all scenes, to delete it? When i tested my game, I have inserted some textures, sounds, GO etc and some of them are not in use. I'm using Unity 5.1.1.

2

There are 2 best solutions below

1
On BEST ANSWER

When Unity builds the executable, it does so only with required assets. Anything else that might exist in your scenes or projects is simply ignored.

This answer over on Unity Answers has more info.

There are also options available in the Asset Store, such as this one.

Asset Hunter is a tool that analyzes your buildlog and gives you an easily understandable overview over unused assets in your project folder. The results are grouped into folders and file types, making it easy to start cleaning up your project.

3
On

2018 ..

The modern solution is simply ..

enter image description here

Click on your scene(s) and select "Select Dependencies".

It will show you what is used; the rest is unused. Really it's that easy.


As with many things in Unity pipeline, it is very common to use an asset, virtually every project uses a few well known assets. "A+ Assets Explorer" (link) is very common.