Skip to content

Conversation

sandsalamand
Copy link
Contributor

Fixes #66.

While integrating #53, it seems that these lines were lost:

animator.entryTransitions = new AnimatorTransition[0];
animator.anyStateTransitions = new AnimatorStateTransition[0];

As a result, the transitions were not being properly cleared in the AnimatorController asset. This caused issues on subsequent runs for an existing AnimatorController.

This PR re-adds those lines into ClearAnimatorStateMachine.

…tions are cleared in ClearAnimatorStateMachine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Transition AnyState -> Stun in State "AnyState" transitions to state Stun which does not exist in controller

1 participant