Short description of error
Wrong bones rotations are exported at specific frame/values.
Exact steps for others to reproduce the error
Open the blend file attached, export it to Fbx.
Import it back in Blender, or Unity, Unreal... The right thigh has wrong rotation on frame 3.