XCleaner
XCleaner is an automated deep-cleaning toolkit for Unity projects. Fix missing scripts, find unused assets, merge duplicates with GUID re-linking, strip dead material properties, a folders management.
by sazixworkbench
Price History +
Every Unity project accumulates invisible garbage over time: broken script references on prefabs, textures nobody uses anymore, three copies of the same file with different names, materials hoarding properties from shaders you switched months ago, and hundreds of empty folders cluttering your Project window.
XCleaner finds all of it and kills it.
5 powerful tools, zero configuration, one menu:
Fix Missing Scripts — Scans every Prefab and Scene in your project. Finds GameObjects with broken/deleted MonoBehaviour references and safely removes them using Unity's own GameObjectUtility API. No more yellow warnings flooding your console.
Find Unused Assets — Builds a full dependency graph from your Build Settings scenes and Resources folders. Any texture, material, model, or audio file with zero incoming references is flagged as an orphan. Click any log entry to instantly ping the asset in your Project window.
Smart Duplicate Merger — Groups files by extension and size, then verifies with MD5 hashing. When true duplicates are found, XCleaner automatically re-links all references (prefabs, materials, scenes) from the duplicate to the original by replacing GUIDs, then safely trashes the copies.
Clean Material Properties — When you change a material's shader, the old properties stay serialized inside the .mat file as dead weight. XCleaner compares each material's serialized data against its current shader and strips every orphaned property. Reduces build size and eliminates phantom texture references.
Delete Empty Folders — Recursively detects folders that contain nothing but .meta files and other empty folders, then annihilates them. Keeps your Project window clean.