TouchScreenButtons stop working after sometime on Android

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

Hi guys, I have a problem, i’m trying to add buttons to an android game,it works fine for some time but after a few minutes buttons and touchscreen both stop responding, even though game is still running (not freeze because I can see NPCs stil moving).
Thank you.

Is the problem only in the running Godot-based game, or does the device’s touch screen itself stop responding completely?

jgodfrey | 2022-07-18 16:09

It only happens in one Godot based game others work completely fine.

Rekkusu | 2022-07-19 01:29

Check when the problem started.


When you press the jump button or when an object enters the scene

ramazan | 2022-07-19 08:07

I assume the problem is in your code - at least I’ve never experienced this from a Godot-based app on Android. You’ll probably need to post your touch-handling code here or, better yet, provide a link to the project so someone could take a look…

jgodfrey | 2022-07-19 13:41