unity-cleaner

Identify and remediate unused assets, duplicates, and missing references in Unity projects.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-cleaner-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-cleaner
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/cleaner
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-cleaner-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity projects often accumulate unused assets, duplicated files, and missing references which inflate build size and complicate maintenance. This Skill helps clean up projects by identifying those issues and providing safe, auditable cleanup workflows.

Core Features & Use Cases

  • Find unused assets by type and location to reclaim space
  • Detect duplicate files by content hash to consolidate storage
  • Identify missing scripts and broken asset references to fix project integrity
  • Preview deletions with a safe dry-run before actual removal
  • Inspect which assets are in use and by whom to guide refactoring

Quick Start

Run the cleaner to identify unused assets, duplicates, and missing references in your Unity project.

Frequently Asked Questions about unity-cleaner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and remove unused assets in a large Unity project?

To locate unused Unity assets, scan your project's multiple scenes and asset folders to identify unreferenced files, previewing the deletion list safely before executing removal.

What is the best way to detect duplicate files and missing references in Unity?

Detecting duplicate Unity files and missing references involves scanning asset content hashes to consolidate duplicates and identifying broken script references to restore project integrity.

Can I preview unused Unity assets before deleting them permanently?

Yes, you can preview unused Unity assets before deletion using a safe two-step workflow that enforces a dry-run preview followed by explicit confirmation to ensure safe project cleanup.

Does this Unity cleanup workflow work across multiple scenes and asset folders?

Yes, the Unity cleanup workflow operates across large projects by scanning multiple scenes and asset folders comprehensively to locate unused assets and broken references throughout the repository.

How do I inspect which Unity assets are in use and by whom?

To inspect which Unity assets are in use and by whom, run a usage scanner that tracks asset references across your project to guide safe refactoring and consolidation.

Why does my Unity build size keep growing and how can I clean it up?

Your Unity build size grows because projects accumulate unused assets and duplicate files over time. You can clean it up by locating and removing these unused assets to reclaim storage space.