I have implemented a procedural running game using blueprints. However every time I run a new simulation, the editor starts at BP_Floor_n+1 (assuming the previous simulation stopped at BP_Floor_n). It seems that the editor keeps in memory the previous simulation. Is there a way to destroy everything when exiting a simulation. I’m using unreal engine 4.9.
You may want to upgrade to a later engine version as their have been a plethora of improvements done since 4.9
How are you running a simulation - are you just pressing Play in the editor and then hitting esc to stop? When you hit play again it and the map reloads it spawns the actors with Actor_n_1?