Lightbaking for static mesh components added in BP construction script

I have a blueprint which creates more static mesh components in BP construction script.
Since that function is not exposed to blueprint I created my own static function to set a scene component mobility to static. I call it on the added static mesh components just after spawning them.

Still, they don’t have lightmaps. Any idea why?
Doing something similar for spline meshes work (generating them in BP constructor script and setting them to static - they have lightmaps).