Guessing at animation has cost this mod real time: a howl looked for under
three wrong names, a taunt animation nobody knew played, and a sound prefab
that kills the process when spawned on its own.
dumpanim <prefab> lists a creature's parameters, layers, every clip in its
controller with name and length, and every AnimationEvent on every clip - the
instant, the method called, and the asset an event hands over. That last
column is where a sound wired into an animation lives, and it is what finally
found the wolf's howl.
It also prints the components beside the Animator, because an animation event
is delivered to those and nowhere else. On a prefab with no animator at all
it falls back to dumping the hierarchy, the components and the audio setup,
which is how a sound prefab gets looked at without being spawned - and some
of them must not be spawned.
dumpanim live watches every animator under the player and reports each clip
change as it happens. Standing still in wolf form and reading the log is what
showed 'C_Hawl' coming round in the idle rotation on its own.
What Unity will not give up, and it is worth knowing before starting: the
state machine. States and transitions are editor-only and
GetCurrentAnimatorStateInfo returns hashes with no names, so a state can only
be guessed and then confirmed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>