Delete and deleteall bug

If I remember correctly (@Ragnar_Svensson, @sven, @Mathias_Westerdahl and other will tell me if I’m wrong) is that when you do go.delete() the game object will be flagged for deletion, but it will still exists for the duration of the frame and only after the frame has updated, all messages have been processed and everything has rendered will the game object actually be deleted. This means that if you delete 100 game objects and create 100 new game objects the same frame you need to be able to handle 200 game objects.

3 Likes