0 votes

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? :)

in Engine by (496 points)

You should add more info about your OS and Godot build used. Also probably GitHub: https://github.com/godotengine/godot/issues 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.

1 Answer

+1 vote

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.

by (28,982 points)
edited by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.