What can be done to get "game crash" cause?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tybobobo
:warning: Old Version Published before Godot 3 was released.

I am currently working on a network game; but I have the problem that the clients crash at random interval with no warning, error or console output. It just simply freezes. The engine itself works fine though.

Any tips & tricks you could share in order to find the cause? :slight_smile:

You should add more info about your OS and Godot build used. Also probably GitHub: Issues · godotengine/godot · GitHub is probably more appropriate place for this kind of issues.

First thing you should check is the debug (console) window. Usually when issue like that happens some errors are displayed there.

Kermer | 2016-04-21 21:46

:bust_in_silhouette: Reply From: Zylann

If no message appear in any of the consoles (editor and system), you can still attach a C++ debugger to the game process, because the editor is built in debug mode with symbols.
Otherwise, you can try the hard way and remove stuff in your code until the client stops to freeze, then you’ll know which removed stuff is the culprit.