C# scripts for Unity game engine to show used and unused assets of a build.
Reads 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 are displayed in a new window.
The shown assets in this window can be filtered simply by selecting a folder in the project view.
Tested with Unity 5.5.0f3 and Unity 2020.2.1f1
See also the forum entry where this solution has emerged.
- Put the cs-files in an Editor special Unity folder.
- After recompile, a new menu item should show up under
Window > Build Info
. Click this menu item. - Build your app.
- Click "Update Build Info" button in the window. The used and unused assets should now be listed.