Characters sometimes get stuck in default running animation

Hello,

I’m dealing with a mysterious animation bug where character sometimes gets stuck in a default movement animation despite staying still. After that, there’s nothing you can do (except for character reset) to stop it.

There’s no specific code block I could share, however I am using a lot of client-side CFrame manipulation to make players move around on rails and in tracks with custom physics. Player controls aren’t being disabled all of the time, so maybe that’s where an issue occurs.

What I’m looking for is for devs more knowledgeable about animation system or people who had dealt with a similar glitches.

  • Ideas on how to debug this issue
  • Possible ways to reproduce/force the glitch
  • Potential fixes

Might be unrelated, but I’m also having a ton of AnimationTrack limit of 256 tracks for one Animator exceeded, new animations will not be played. errors in the dashboard, despite being careful to cache my animations and even double check the track count before playing something. However, that error is not present in the console whenever I get the animation glitch and I assume it might be related to buggy anims on custom characters? But that’s for another thread.

Thanks for any kind of input!