Construction Script created object's lifecycle

I’d like to know what is the lifecycle of objects created in Blueprint Construction Scripts (CS). For example in a Spline Blueprint, everytime I modify the spline in editor, the CS is being called. What if I create a Dynamic Material Instance in there? Will it be created multiple times, will it leak, when is it destroyed? Thanks!

Typically, the CS bins everything and starts again, each time its run.

But I have seen other behavior ( for instance, not destroying static mesh components ).

If you’re worried about it, you can code around it.

Ok thanks. Well if things leak, that would be in editor only, not in game, so this is not a big problem. I just wanted to know whether it was ok/not ok to create objects in CS. Apparently it is ok.

Well, good to know that the CS runs when you load the level.

I’m not sure exactly how that happens/not in a baked build.