HierarchyCleaner


Scan any hierarchy to list every component by type, detect missing scripts, and bulk-remove them safely. Respects RequireComponent dependencies, supports Undo, and auto-updates on hierarchy changes.


by PanRien Studios


Price History +

Hierarchy Cleaner is a lightweight Unity Editor tool that gives you full visibility and control over every component in a GameObject hierarchy.

  • Assign a root GameObject, click Scan, and instantly see all components grouped by type - with icons and instance counts.
  • Missing scripts are highlighted with a per-GameObject breakdown.
  • Remove individual components, entire types at once, or strip everything in a single click.
  • The tool is designed to be safe and predictable. It respects RequireComponent dependencies: if a component cannot be removed because another component depends on it, you are offered to remove both together.
  • Components that Unity re-adds automatically (such as URP companion components) are detected and reported clearly.
  • All removal operations support Undo (Ctrl+Z), and a multi-pass dependency resolver ensures the correct removal order even in complex chains.

Hierarchy Cleaner is ideal for:

  • Cleaning up imported assets, FBX files, and downloaded prefabs before integrating them into your project
  • Stripping unwanted components in bulk (e.g. removing all Colliders or all custom scripts from a hierarchy)
  • Finding and removing missing scripts that cause warnings and instability
  • Auditing what components exist across a complex hierarchy at a glance

The window updates automatically when the hierarchy changes, so you always see current data without needing to re-scan manually.