What I could find on the internet is that it means a function keeps getting called for hundreds of times and reach it maximum amount of calls. However this problem doesn't occur everytime but it seem to do it random. When it happens it is always at a certain point in the game but like I said it doesn't happen every time.

Could this error means a call function is in a loop? Or a condtion is constantly being true and doing the same event over and over again? Or something else?

Thanks for the reply. After a long search I found it. It was indeed a function wich was running in a loop. It seemed random because the function would only be called on a random number but once it was called it would get stuck in a loop.