importing FBX into Unreal Engine — it doesn't recognize the metallic map, and instead it connects the roughness map to the metallic input

Yes, I have no problem importing gltf. I remember that FBX was also fine before.