HELP!!! Godot editor randomly crash when building. C#

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By steffan99

When i use the play button, godot succesfully build the project then crash the editor with the game window still working. I’m still a noob with programming btw.

https://drive.google.com/drive/folders/1-Bw6rweWdYsK0mSqMb7CQLYKRRdNuWCx?usp=sharing

:bust_in_silhouette: Reply From: Frostcatzz

You can uninstall godot and then download godot again. If keep crashing, try to see whats wrong in your game. Or u can try ur game on another pc

:bust_in_silhouette: Reply From: Aristonaut

If your built code is crashing the editor, the easiest fix is to delete the [project_folder]/.mono/temp and then start up the editor again.

This essentially resets the editor to have none of your code built, so it won’t run the broken code. You can then try to fix the offending code or wrap it in try-catch and re-build from the editor.

Editor crashes should be reported, if not already. So just remember, if you find a crash, upvote the bug related to that specific crash type or open a new bug.

:bust_in_silhouette: Reply From: Adamekka

Same happened to me, I deleted <project>/.godot/ and editor stopped crashing