Retargetting an animation from AnimStarterPack to FPS Template rotates the animation 90 degrees

Hello guys,

So I decided to retarget few animations that would be useful for me from the AnimStarterPack to the first person shooter template mesh. And I follow the tutorial by Epic on their docs, and the animation retargeted fine, and looks good, but it seems like the animation is retargeted 90+ degrees.

First I thought it’s because of the different orientations. Like the FPS Arms mesh is facing different direction than the ThirdPersonMannequin from the AnimStarterPack. I imported both in Blender and they both faced the same direction.

Here’s the problem:
Here’s the default anims that come when you create the FPS Template project:

And here is the retargeted anim:

Any ideas how to fix that?