How to work on modular assets for a house?

Hello everyone
I’m trying to create a simple house level making my own modular house pieces
I’m very experienced in 3D modeling. But I’m finding new issues the more I get into it

My main issue is UV limitations due to Lightmap
I can’t overlap faces in because UV map, it seems. And because of that, I can’t properly tile my geometry using more complex textures

Add to that the fact that I would like to have different materials in opposite sides of the wall (or ceiling/floor)

I tried a few alternatives but didn’t find any solution yet.
Does anybody know a method to make this works?

If 2 sided walls are this complex already, I wonder how much difficult would be to make a window

When importing geometry in Unreal, you can auto-generate a second UV channel used for lightmaps. That channel is independent from your main UVs and won’t affect your textures, nor will it be affected if you had overlapping faces before.

That way, you can unwrap and texture as you please, with overlapping faces, and let the software manage the UVs for the lightmap.

Hope that helps!