That might be the awful "just spawn 500 asteroids when the game starts" code, since I did not want to spend time I didn't have building a proper spawning system
I've heard godot physics can be quite unreliable, but I haven't' delved too deep into the physics engine myself. If you plan to update this, maybe you could swap physics engines inside godot to see if the other one runs a bit better