Objects keep getting added in my game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By iiiomk

A minute or 2 after opening the game the fps drop to 1
I thought it is a problem with my code and that I need to optimize it but even after optimizing it the same problem happened
I turned on v_sync and the same problem didn’t go away
So I checked how many objects are in the scene and it was more than a million
And it was increasing by a 1000 each frame
And it is not made by adding “add_child” in a process function since I opened the remote tap and there was no nodes appearing

If you can please help

you should probably post some code from your project, otherwise this could be literally anything

TheZipCreator | 2023-06-18 13:43