An Editor extension that helps you clean up your Unity project by finding unreferenced assets.Unused Asset Cleaner is a powerful and safe utility for Unity Editor that helps you identify, quarantine, and permanently delete unused assets in your project to keep your project size small and compile times fast. Features🔍 Smart Dependency Scanning: Automatically identifies assets that are not referenced by any scenes in your Build Settings, nor by any global Resources folder.🧠 Code Reference Detection (Deep Scan): Detects scripts that might be referenced purely via code, preventing accidental deletion of dynamically loaded classes.🚸 Non-Build Scene Warnings: Highlights assets that are not used in your final build, but *are* used in a test/demo scene (not in Build Settings). You can click the warning to instantly jump to the scene.📦 Quarantine System: Safely move unused assets to a hidden Quarantine folder (`Assets/UnusedAssetsBackup~`) where Unity will ignore them. If your project breaks, you can easily Restore them back to their exact original locations.🛡️ Exclusion List: Found a false positive? Simply click "Mark as Used" to add it to the Exclusion List. It will be ignored in all future scans.🧹 Empty Folder Cleanup: Automatically cleans up any empty folders left behind after you quarantine or delete assets.🗂️ Filtering & Sorting: Sort your unused assets by Size or Name, and filter them by category (Scripts, Prefabs, Materials, 3D Models, Sounds, etc.). How to Use1. Starting a ScanTo start cleaning, right-click on any folder in your `Project` window and select Quick Setup > Clean Unused Assets Here.2. Reviewing the ResultsOnce the scan is complete, the Unused Asset Cleaner window will open, displaying all assets that are deemed unused.- [!] Used in [Scene Name] (not in Build Settings): This yellow warning means the asset is technically used, but only in a scene that isn't included in your final build. Clicking the warning will select the scene.- [i] Only referenced via code in [Script Name]: This blue info label means the script is never attached to a GameObject, but is referenced in the code of another script. Clicking the warning will select the referencing script.3. Taking ActionCheck the boxes next to the assets you want to manage, then look at the **Cleanup** section at the bottom:- Move to Quarantine: Moves the selected assets to `Assets/UnusedAssetsBackup~`. Unity will stop tracking them. Use this to safely test if your game still works without these assets.- Delete Permanently: Immediately deletes the files. This cannot be undone.4. Restoring FilesIf you quarantined an asset and realize you actually needed it:1. Scroll down to the Quarantine & Restore section.2. Click Restore All Quarantined Files.3. The assets will be moved back to their exact original folders.5. Managing ExclusionsIf you want to keep an asset that the scanner thinks is unused, click the Mark as Used button on its row.It will be moved to the Exclusion List at the bottom of the window. If you ever want to scan it again, simply click Remove in the Exclusion List section.Technical Details- Exclusion Data: The list of excluded assets is stored safely in `ProjectSettings/UnusedAssetCleanerExclusions.json` so it can be shared via Version Control (Git) with your team.- Quarantine Location: Quarantined files are moved to `Assets/UnusedAssetsBackup~`. The `~` at the end of the folder name tells Unity to completely ignore the folder, preventing it from processing the assets or including them in builds.

