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.