ReadMe / Documentation

How to open the Unused Assets Finder Window

Navigating the Unused Assets Finder window before a scan

Label

Item

Description

1

Find Unused Assets Button

This will start a scan and find all unused assets within your project

2

Rule Set Object Field

This object field will use the Rule Set placed within it to perform the scan with. If the object field is null or empty, a default Rule Set will be used

Navigating the Unused Assets Finder Window before a scan

Label

Item

Description

1

Search Bar

Search through the results of a scan for specific files either by name or extension.

2

Tree View

Tree view that displays the scan results in a similar way to the Unity Import/Export package window

3

Column Sorting

Sorts the columns by name or file size

4

Expand All Button

Expands the Tree View fully to see all folders and files

5

Collapse All Button

Collapses the Tree View to hide all folders and files, except the root “Assets” folder

6

Select All Button

Selects all the results marking them for exporting and then deletion

7

Deselect All Button

Deselects all the results marking them not for exporting and deletion

8

Export & Delete Selected Button

Starts to export then delete all assets selected

Rule Set Inspector

Label

Item

Description

1

Extensions To Exclude

If a file ends with an extension in the list, the file will not be included in the scan results

2

Ignore Assets In Specifically Named Folders

If an asset is in a folder with the same name as one in the list, then it is ignored. This is mainly used for ignoring special Unity folders like Resources or Plugins

3

Exclude Specific Assets and Folders

This is for specific files and folders that should not be included in the scan results. If a folder is in the list, all assets inside the folder and its subfolders are removed from the scan results, along with each asset’s dependency

4

Names Of Asset Bundles To Include In Search

Assets in each asset bundle listed will be added to the search

5

Prune Empty and Duplicate Entries

This removes duplicate entries and cleans up the lists

Preferences Window

Label

Item

Description

1

Dock Next To A Given Window Checkbox

When this is enabled, the main Unused Assets Finder editor window will dock next to the first open window it finds

2

Editor Windows to Dock Next To List

This is a list where you can enter the names of another editor window for the Unused Assets Finder editor window to dock next to. The Unused Assets Finder editor window will attempt to dock next to the first item in the list if the window is open. If the editor window is not open, it will proceed to the next and so on until the list is exhausted at which point it will create an un-docked version of the window which you can then drag into the desired place

Built-in Unity editor windows have unique names and some of the most common ones are listed below:

  • Inspector: UnityEditor.InspectorWindow

  • Project: UnityEditor.ProjectBrowser

  • Hierarchy: UnityEditor.SceneHierarchyWindow

  • Scene: UnityEditor.SceneView

  • Game: UnityEditor.GameView

  • Console: UnityEditor.ConsoleWindow

3

Add All Editor Windows Button

If the editor window you desire to dock the plugin isn’t listed above, you can press this button to print a list of all built-in Unity editor window type names to the console and then you can add it to the list. Then you can simply delete the windows you do not want it to dock next to and leave just the ones you do and reorder them to suit your needs