godotengine / godotengine/godot

When I release my app on Google Play Console, current scene does NOT switch to next scene.

Open
#89,724 3 comments 0 reactions 0 assignees View on GitHub
discussion platform:android
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot Engine v4.2.1.stable.official [b09f793f5]

### System information

macOS Sonoma v14.1.2

### Issue description

I'm not sure that this is a bug or my coding error, but I couldn't get what happened to me.
When I release my app on Google Play Console, current scene does NOT switch to next scene.
I used `get_tree().change_scene_to_file("res://Src/Start/Start.tscn")` to switch scene.
First time to load some scene had no problem, but the second time to load the same scene does NOT work.

### Steps to reproduce

Note: My app contains some ads. If it is not nice, please let me know and I will fix it to stop ads temporarily.
1. Clone my app from my [GitHub repository](https://github.com/mattsunkun/mathing). Export android .apk file and install it to local Android evice.
2. Download the app from [Google Play](https://play.google.com/store/apps/details?id=com.mygame.android.mathing)
3. Play each game(by tapping the button "Beginner" to start) to the scene shown on the picture below.
image

4. Tap any enabled button
5. App from .apk worked, however app from Google Play does Not work.

### Minimal reproduction project (MRP)

[My Working GitHub Repository](https://github.com/mattsunkun/mathing)

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal reproduction project and the get_tree().change_scene_to_file("res://Src/Start/Start.tscn") call. Compare the locally installed APK with the Google Play build and reproduce the second scene transition after tapping an enabled button. Done means identifying whether the failure is in Godot or the release configuration and documenting a reproducible engine-level fix or configuration cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, godot
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.