Splash screen disappearing on Android

Godot Version

4.2.1

Question

It shows very dimmed splash screen only for a split second, then blackness for 5-10s (depending on the phone I’m testing it on - Android 13 and 10. Works fine in editor / on Windows builds. Gradle build with altered android:theme in AndroidManifest makes no difference.

This definitely seems like a problem with Godot, but perhaps there’s a work-around? Perhpas changing the engine source code? Or accessing android:theme=“@style/GodotAppSplashTheme”? Or the thing that overrides it?

Getting a bit desperate now, as I’m finishing the game I worked on for the past few months and just realised this is much more of an issue than I thought.

Tested on Godot 4.1, 4.2, 4.2.1, 4.3-dev3, Android phones: Xiaomi 11 Lite 5G, Redmi 8A

1 Like

This seems to be a problem on all mobile exports. I personally gor around it by having the startup scene being just the image of the loading screen with extended edges and having a ready function like this:

extends Sprite
func _ready():
 yield(get_tree().create_timer(1.0), "timeout")
 get_tree().change_scene("res://Main.tscn") # this being your actual first scene

Unfortunately this doesn’t solve the problem. I’ve tried before with a control node and TextureRect, now with a Sprite2D as per your suggestion. It’s just a total blackness (or disappearing splash) as long as the engine loads.

Stumbled upon a solution on github, which does seem to work.
Needed to change Rendering Method.mobile to gl_compatibility.
I guess it’s not ideal but solves one issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.