0 votes

I am in the middle of making an Android game using godot 3.0.6, but when i export the game to android it runs perfectly for 3 to 6 seconds and freezes, no errors are shown when i try to remote debug the game, it just stops working, it doesnt even exit the game...

any idea what can cause such thing or how to fix/debug it?

EDIT: I eventually solved the problem by breaking the game in pieces(removing parts and finding the one who causes errors), and it was the navigation2D who crashed the game

in Engine by (1,193 points)
edited by

1 Answer

0 votes

Could be due to many things, my advise is to run adb logcat to get more info
(Start manually, outside of Godot, a terminal / console / command prompt with the appropriate commands).

Good luck !

by (849 points)

So, I did the logcat thingy, and it returned nothing, the same with godot's remote debugging, it simply freezes, and only on android

Can you attach the logcat output ?

Specifically, start the command before running your app on Android, then run it
and stop the capture after the freezing.

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 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 webmaster@godotengine.org with your username.