Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android app loads without display first, then shows splash screen briefly. Should show splash screen while loading. #63966

Open
Giwayume opened this issue Aug 5, 2022 · 5 comments

Comments

@Giwayume
Copy link
Contributor

Giwayume commented Aug 5, 2022

Godot version

3.4.5.stable

System information

Pixel 3a XL Android 9

Issue description

If I tap on a blank Godot app to load it, it takes a second or two before it opens. Most other apps open immediately and show the splash screen, however I never see the splash. It's doing something for a few seconds then jumping straight into the empty game. This is a problem because it gives the user a chance to second guess whether or not they mis-tapped on the icon.

Is there any way to modify the Android export to immediately load the splash screen, then start loading whatever is hanging the app up from loading immediately?

Steps to reproduce

  1. Create GLES2 Godot project
  2. Modify default_env.tres to change background mode to Clear Color (remove sky generation)
  3. Create a default empty scene
  4. Project -> Install Android Build Template
  5. Export using custom build (APK), as "Release" version.

Minimal reproduction project

No response

@SkanerSoft
Copy link

I join the issue! It was also interesting when I noticed this on one of the test phones, but did not attach any importance.

@akien-mga akien-mga changed the title Android blank app load performance (no splash screen) Android app loads without display first, then shows splash screen briefly. Should show splash screen while loqding Aug 5, 2022
@akien-mga akien-mga changed the title Android app loads without display first, then shows splash screen briefly. Should show splash screen while loqding Android app loads without display first, then shows splash screen briefly. Should show splash screen while loading. Aug 5, 2022
@Calinou
Copy link
Member

Calinou commented Aug 6, 2022

Related to #30723 and #62863.

@Giwayume
Copy link
Contributor Author

Giwayume commented Aug 6, 2022

Not so sure, this is about the export itself, since the Godot project is doing nothing (all engine code).

@SkanerSoft
Copy link

If I understand correctly, the problem is that when you start the game, instead of the splash screen, just a black screen is displayed.
At least that's how it was on one of my phones. Instead of my own picture, I saw darkness. But sometimes my picture flashed there, in rare cases. I figured it was a performance issue on the phone.

@Giwayume
Copy link
Contributor Author

No, in my case nothing visibly occurs after tapping the icon, until about 2 seconds later the game opens to the empty scene. No splash screen is displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants