Skip to content

Ess-Ka/EsskaAnimatorMaintenance

Repository files navigation

IMPORTANT: V2.0: Installation method has changed! Please read the "Installation" section below.

Esska Animator Maintenance

This software allows you to analyze and clean up Unity Animation Controllers.

grafik

How it works

The Animation Controller stores objects of following types in the same .controller file:

  • AnimatorStateMachine
  • AnimatorState
  • AnimatorStateTransition
  • AnimatorTransition
  • BlendTree
  • StateMachineBehaviour

For each of this objects, the script iterates through all layers, (sub) state machines and states in the Animation Controller. An object which cannot be found, will be recognized as unused and can be removed from Animation Controller.

Installation

Add the package to VRChat Creator Companion: https://ess-ka.github.io/EsskaPackageListing

After the package was added, click on the "Project" tab in the Creator Companion and select "Manage Project" on your project. Then choose the package in the list and install it.

Usage

Drag the prefab into your scene and assign an Animation Controller to it. Select one of the features described below.

List Content By Type

Counts all objects by type and writes the results to the console.

grafik

List Unused Content

Counts all unused objects and lists them separately in the console.

grafik

Show/Hide All/Unused Content

Expands your Animation Controller in the project window. This allows you to inspect all or only unused content.

grafik

Remove Unused Content

Removes the unused objects of your Animation Controller and shows the results in the console. Make a BACKUP before you start this action!