Game executable file creates infinite loop calling itself

Hi! After packaging my game and opening the exe file, it creates a infinite loop calling itself and the game crashes.