Remove unused assets

I have a project that was used to prototype multiple things and I didn’t clean it while developing. Now I want to remove everything that is not used to start fresh. The problem is I can’t remember what is used and what is not. It’s a big project and I haven’t touch i the last year.

It’s now possible or I need to code something myself to do it?

HI,
You can select all the scenes that are used in your build and then right click and select option “Select Dependencies”. It should select all the assets that are used in your current build.

But it will not select some of the plugins you have used and editor scipts etc.

So if you want to remove images, prefabs, models, then you can use that feature.

Thanks.

I know its an old question but I just put a tool on the asset store that does exactly this. It runs through your build log and included scenes and returns all unused assets.

(It also shows you the file size of your included assets to enable you to minimize buildsize.)

Asset Hunter PRO

Right Click the Scene (all of them selected) and export. Then import in a new project.

I also wanted to clear unused assets. I created a few scripts to show (un-)used assets based on the works from New interface for removing unused Unity assets · GitHub
What it does is read the unity build log to find the assets that are really needed and thus also the assets that are unused.
The used and unused assets that are displayed can be filtered simply by selecting a folder in the project view. Works for me using Unity 5.5.0f3.

link text

late but it may help someone else

try this:

GitHub - unity-cn/Tool-UnityAssetCleaner (download and use cleaner.unitypackage)

i also noticed that they maybe get removed automatically in build(Would I need to delete unused assets from my Unity packaged build? - Game Development Stack Exchange)

Is this still an issue for Unity 2018.2? If so, why is there no build-in feature to do this job? Lame!