Mesh deforms when playing animation

As I mentioned before, I tried a lot of different combinations there without any luck.

I would also like to read someone explaining why the exported animation plays correctly in the viewport but doesn’t within the game.