[CRASH] crashing in preview after some time playing testing

After a little time testing my game, Gdevelop crashed, apparently due to 3D Physics, I don’t know what it could be.
mentions that it cannot create an object, even though there is no condition being true for it.
Before I thought it would crash after restarting the same scene several times.
but it crashes after a while of the game running.
I don’t know how to solve it, I’ll link my project here so you can take a look
(HIS CODE IS A MESS, given the fact that this project was made just for me and I don’t care about organization lmao)

Project Link:

quick edit here:
the one crash that happens when not restarting the scene too much is another crash, and it just happens when nothing is happening in the game, but it still related to 3D Physics, i’ll send the print of this crash when i can

the error says you’re out of RAM