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

In Blender, all my materials are set up correctly with separate maps for metallic and roughness. But when I import the FBX into Unreal Engine, it doesn’t detect the metallic map and ends up connecting the roughness texture to the metallic input. How can I fix this?


Which version of the engine are you using?
Are you using interchange?
Can you share the FBX file and texture with us?

I’m using UE5.4. How can I give you the file

FBX doesn’t have a standard PBR material setup included with the format. GLTF is the only format I’m aware of that does.

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