Animation not playing correctly on custom rig/npc

I’m having a problem where I’m animating an npc and it looks fine in the animation editor, however when i play it in game it doesn’t play correctly

heres what i mean

in animation editor:
gif1

in game:
gif2

it would be really helpful if anyone knew why this is happening, and thank you for checking this out!

I’m also currently having this issue. It’s been a few months, have you resolved it?