Stack overflow

Currently, I am making a topdown survival game, but I am hitting stack overflow.
Does anyone have an extension for this?

Can you share your code? Probably because you have a recursive function in your code and you aren’t breaking out of the loop…