Does the issue occur in the editor or during gameplay?
Game

If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Isometric free movement and grid movement

Briefly describe the issue you're experiencing:
after loading a map through script several times a lots of errors occurs. each time player loads map the game lags a bit more and loading script lasts longer until it stops responding

Are there any errors in the in-game debug console or external console window?
no

Provide the steps necessary to reproduce the issue:
just execute a script containing a load map function with any method

Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):



    i scrapped 2 games cause of this bug. i made only 2 games, so its literally 100% chance of occuring wtf

    a month later

    Hi I have the same problem have you found a solution yet`?

    13 days later

    Kriok Hello, my wonderful friend! Thank you for the bug report and for providing an example project. This was greatly helpful in tracking down the issue. You'll be happy to know that this should now be fixed as of the v1.2 release.

    Fixed issue where errors related to "body_enter_tree" and "body_exit_tree" would sometimes flood the external console window and cause slowdowns