Dynamically creating game level

There’s a complicated system behind “Build Lighting” called Lightmass (which is proprietary to Epic I believe). Lightmass is build only into the Editor and not into a packaged game. You’ll need to write your own “Lightmass” if you want Runtime light mapping. See this resource that simplifies the light mapping concept: Lightmap - Wikipedia.