Components in Auto-Generated Blueprints

Hey again,

there seems to be a bug in UE 4.7.2 which annoys me a lot! I have a blueprint which has a billboard component as it’s root component and there are four Instanced Static Mesh components attached to that billboard component.

In construction script, I try to add instances to them.

This works, BUT everytime I play in editor, it says “Lighting needs to rebuild for … objects” even though I just baked it! I guess this is because I clear instances every time. However, if I don’t clear instances in construction script, editor crashes if I try to open map and if I try to PIE!

Hi Dalon,

key is, as you suspect, construction script clearing instances. By clearing instances, lighting needs to be re-baked because a new instance is being created in its place. I noticed, however, that if Actor is not moved after building lighting, this doesn’t happen. Are you spawning this Actor dynamically, or moving it after building lighting? If so, that’s probably problem.

If you’re getting a crash when you don’t clear instances, that’s probably a different bug. I would recommend opening a new post with crash log after this happens so we can take a look and see if we can spot problem. Thanks!