Blender Skeletal Mesh to Unreal - some random 90 180 270 deg rotations are required

Hi, I’m trying to export my armature from blender to UE but when I attach static meshes to the bones I have to rotate those by 90*x deg around random axis (usually X or Z). I tried to setup different XYZ up/forward/left in Blender export but they have zero effect for me. Do you know what can be the issue?

By default my attachments looks like this:

In blender every mesh has proper zero transforms. Roll of the bones set to 0