I’m using a function to add Hierarchically Instanced Static Meshes during the constructor. I’m then building lighting on the level, including these meshes. The lighting builds perfectly, but as soon as the constructor runs again (ie. when the level is actually loaded in runtime), all the built lighting is obviously lost because the meshes are added again.
Is there any way around this? I need both things ideally: procedurally-added meshes at construction time, and static lighting.
If I manually add instances to a HISM component in Blueprint, they hold the lighting without any problem.
Is there a solution to this?