This is a typical issue that is mostly mecanim based.
The Idle is triggered on the same frame as the Walk and because walk is triggered with Crossfade mecanim don’t know which animation to play and plays them both together (you can see that if you open the Animator window).
As such the action is never finished since the animation state is never finished.
Solutions for that is to not tell mecanim to play another animation other than it’s default state on the same frame.
You can simply make your default state to be the “Walk” state if that is really what you want to play first.
Also in reality, you walk animation action will be triggered after some kind of input, or other mechanic and not really OnEnable 🙂
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.