When i import a fbx file from blender it loses its materials and colours and some walls are invisible

If you use planes as your walls they have front and back face (not sure about the proper name in english) and in Blender in the upper right corner in viewport overlays you can toggle on face orientation. Blue colour means front (has material and is visible in blender) and red means back and it might disapear in UE.