Animation playing incorrectly

This is how I want the animation to play like, and how it is on the animation editor.

But this is how it plays:

Bump because I’ve just encountered this issue
For me, I’m working on a spinning divebomb animation for a character in my game and because they are angled so that their “up” is pointing diagonally down and forwards it cause the spinning to play incorrectly.
From what I can tell, it seems to be caused by the character being incorrectly posed on some keyframes (as in the pose the character is in when viewing with the Animation Editor and Moon Animator being a different pose than in gameplay, as they are angled incorrectly).
I do not know of a work-around or a fix of some kind except for having the spinning animation be “upright” and then using code to rotate the character to the desired angle but that shouldn’t be necessary in the first place.