godot
godot copied to clipboard
Android: Pressing Back button exits the editor when running the project
Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.
Godot version
V3.5 and 4.0
System information
Android 11
Issue description
When playing a scene whole Godot editor turns of when pressing a back button I just want to close palyed scene and go back to the editor but i can't Sometimes it's working normal and I'm going back to the editor and sometimes not I think that there should be on screen floating button to close the scene and that would be good solution or even opening it as a separate app
Steps to reproduce
I have no idea looks like it's random
Minimal reproduction project
No response
As a workaround, add a visible Button node on your game that calls get_tree().quit() when pressed.
As a workaround, add a visible Button node on your game that calls
get_tree().quit()when pressed.
Unfortunately, this does not appear to solve the issue (using godot Alpha 13)
https://user-images.githubusercontent.com/34092413/181997131-b2b2d1b9-2fef-4d2e-b66c-ee90e380978a.mp4
I tried everything but nothing helps...
I would like to add that this bug occurs all the time in my current setup: Operating system: Android 12 Godot version: 4.0 Beta 3 Device: Samsung Galaxy Tab S8
The behavior is not intentional and caused by an input-related crash bug when returning to the editor from the running project.
The issue has already been fixed on the 3.x branch, but still remains on the 4.x branch.
Just tried the latest 3.x branch, doesn't seem to work. However I do recall a release candidate of 3.5 that actually fixed the problem, however everything after said candidate stil has the problem.
Just tried the latest 3.x branch, doesn't seem to work.
@Liquidful Do you mean you tried a custom build from the 3.x branch and the issue is still present (i.e: pressing back from the running project causes the editor to close as well?) ?
Not a custom build, just the official 3.5.1 package found on the website, And yes, the same issue is still present. (Android 12, Xiaomi Pad 5)
Not a custom build, just the official 3.5.1 package found on the website, And yes, the same issue is still present. (Android 12, Xiaomi Pad 5)
@Liquidful That's expected. The fixes are being made for the upcoming 3.6 release as they contained some large refactor to the input logic which we deemed unsuitable for the 3.5.x releases.
We'll soon make that release available through the play store which will provide an easier (and automatic) way to keep up-to-date with the latest improvements.
That's great news! Happy to hear that it's being worked on
I have a problem, no matter how many times i click back, it doesn't return to the editor, it won't quit even with get_tree().quit()
I have a problem, no matter how many times i click back, it doesn't return to the editor, it won't quit even with get_tree().quit()
I've seen that behavior when the debugger is on and stopped at a breakpoint. Check to ensure that there's no breakpoints in your gdscript code prior to running the project.
Same problem happening in my android device Infinix Smart 5 android 10, 32-bit Even i tried godot 4.1.2 and 4.2 beta Problem is not solved please fix it As soon as possible.
Not a custom build, just the official 3.5.1 package found on the website, And yes, the same issue is still present. (Android 12, Xiaomi Pad 5)
@Liquidful That's expected. The fixes are being made for the upcoming 3.6 release as they contained some large refactor to the input logic which we deemed unsuitable for the 3.5.x releases.
We'll soon make that release available through the play store which will provide an easier (and automatic) way to keep up-to-date with the latest improvements.
It's already been a year and 3.6.0.beta.3 has been released yet I'm still facing this issue. I've installed the official app from play store still facing the issue
If this only occurs when encountering a script error when running the project (including runtime errors not visible when the project isn't running), see https://github.com/godotengine/godot/issues/77272.
Not a custom build, just the official 3.5.1 package found on the website, And yes, the same issue is still present. (Android 12, Xiaomi Pad 5)
@Liquidful That's expected. The fixes are being made for the upcoming 3.6 release as they contained some large refactor to the input logic which we deemed unsuitable for the 3.5.x releases.
We'll soon make that release available through the play store which will provide an easier (and automatic) way to keep up-to-date with the latest improvements.
It's already been a year and 3.6.0.beta.3 has been released yet I'm still facing this issue. I've installed the official app from play store still facing the issue
@SamiunNafis there was a second fix needed which is being added by https://github.com/godotengine/godot/pull/84279. That fix hasn't been merged yet but will be part of the next beta release.