When I rebuild lighting everything gets mested up.

Make sure you actually have a light in there, and also make sure your lightmaps are setup properly: Unwrapping UVs for Lightmaps | Unreal Engine Documentation