Splash screen flickers on Android deploy

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

I have seen issues similar to this one, but none of them help me.

When I deploy my game to android, it is stuck on the splash screen. It just flickers forever.

Yes, I am using the correct export templates.

I have narrowed the problem down to using get_node() in _ready(). I don’t know why, because this should only be called during run time, not when the game is first loading. But whenever I comment out the get_node() and deploy it, it works.

It’s also inconsistent about running. Sometimes it just deploys and runs when all I do is comment the get_node line out, deploy it, remove the comment, and it still runs okay.

I am very confused and this makes no sense.

Btw I am using Godot 3.0.2 and export templates 3.0.2. Windows 10 PC if that matters

Are you 100% sure it runs fine when get_node is commented out? Sometimes bugs are random, which means you have to retry multiple times to confirm it’s not random.

If it’s not random, then maybe get_node has issues getting your node. Maybe it’s not found? If you expected it to work, maybe an error occurred before this which made your node not available for example, like a resource failing to load in the scene.

Zylann | 2018-06-07 12:58

That flicker is usually related to adreno devices that do not fully support GLES3, but if dissappear with that get_node is strange, unless that node has an unsupported shader (commonly on 3D nodes or particles).

eons | 2018-06-08 02:33