Disable randomization when packaging my Project?

Hi everybody,

I’ve got a problem with a feature of my project that occurs when I package it.

I’ve got a Blueprint Actor that (as a Construction Script) randomizes some elements. To be precise, it’s an actor that allows me to place books in a shelf in a random fashion. I’m randomizing the size. This is my Blueprint:

As you can see it uses one Random Float for the entire process.
Now the issue is that those Meshes are going to be static. This means that, as soon as I package, the baked Lightmaps break because the Packaging Process rerandomizes the actors.

Is there any way to avoid this? I’m fine with using different randomization methods, I just need Lightmaps on those books.

Thanks a lot!