TArray memory not freed in editor only actor

Hi! I try the snippet code you are using and have some ideas what is there. The thing is that the engine use Actor config as the base(aka Template) to create level. So Actor is constructed by this base(aka Template) for this Actor class. The items that were added in OnConstruction method are related to this base(aka template) for you actor. if you try to add some elements at runtime and end the game - you’ll see that they will be cleaned up, because they are not part of base.