Godot Screen flickers in Android mobile but works fine in Editor . WHy ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Anand
:warning: Old Version Published before Godot 3 was released.

Hi I have made an app n its working fine in editor but on exporting it to my Android Device it dont works n the godot splash is constantly flickering . Can anyone pls tell me how to fix it ?

Your help shall be highly appreciated !

You asked same question.
GoDot logo blinks continuously n app dosent loads in my Android phone . Why ? - Archive - Godot Forum
And did not comment on those answers.
Did you read it?

volzhs | 2016-08-25 04:33

:bust_in_silhouette: Reply From: kaithebeast

Hi, I had the exact same problem and I’ve been debugging this for a while.

What I’ve done is the following:

  • Create a project using GLES3
  • Revert settings to use GLES2

Observed:

  • No problems on Android Emulator or Windows
  • Screen flickering all the time on OnePlus6+

I did the actions in:
https://forum.godotengine.org/7172/godot-logo-blinks-continuously-dosent-loads-android-phone?show=717

And out of nowhere it worked. I did a process of elimination to pinpoint exactly what the might be by diffing the projects and re-adding settings.

In the end I saw that the setting: ‘run/low_processor_mode’ in the file: ‘godot.project’ was set to ‘true’. Removing this line (set to false by default) resolved my issue for the screen flickering on Android.

I hope this helps for anyone encountering the same issue. Just started with Godot and I really enjoy it :).

Thanks for this, that solved the flickering problem in Android! I had this line on _ready func on my main node:

OS.low_processor_usage_mode = true

Now, I have this one and bye bye flickering:

OS.low_processor_usage_mode = OS.get_name() != "Android"

Roi Valcárcel | 2020-07-20 08:32

:bust_in_silhouette: Reply From: kennychidot

I experienced this recently,It turned out to be a syntax error in the code. Make sure all inbuilt functions are spelt correctly and make sure your code is properly indented