Hi, I’ve got the modular Construction Tool that Shoiko did. But it seems to be crashing a lot. mainly when exiting play in viewport. and also exiting the Editor. Chatting to Shoiko he said its seems to be because of the empty the Array. here is the line of code that is trying to be emptied.enter code here
GENERATED_USTRUCT_BODY()
UPROPERTY()
TArray<ABuildingModTile*> Column;
FTiles::~FTiles(){
Column.Empty();
Once I open the editor back up it seems to be duplicating the InstancedStaticMeshComponents and paste the original meshes outside the blueprint and here is a pic of the World Outliner
As you can see the Yellow is the meshes that it moved and the red is the duplicated in the blueprint. Does anyone know how to fix this cleanUp so it won’t do this and also not crash the editor.