Overriding Beast Lightmaps for Dynamic Generation

Hey so I’m currently working on a project where I dynamically generate a maze, and I was trying to find a way to apply a pre-baked lightmap each maze piece of it. I’ve tried baking all 15 maze segments and using the generated maps to override the LightmapsSettings.lightmaps array, but the offset and tiling are way off. Anyone know how to do this correctly?

A bit offtopic, but I don’t recommend doing that at all, it will look really bad on the seams if you have different lightning, and if you don’t, you can just add the “lightmap” to the texture and get the same result, but without the headache.