I am working on a school project and need to import this simple model and animation of a crane to Unity. It was made using a Rigify rig. In Blender the animation looks like this: https://imgur.com/a/APOse0S And in Unity it looks like this: https://imgur.com/a/OgPGWMH
The difference is in how the left wing and the head are distorted in some parts of the animation. It happens when I export in .fbx and also when I import a .blend file to Unity.
What can I do to fix this?