Huge performence drop in Android when using ScrollContainer

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

My scene contains just a ScrollContainer with 9 TextureButtons inside (Game Inventory). The project works very smooth in Desktop (60 FPS). But In Android FPS is below 10. I tried so many optimization in project settings but nothing works. still no luck.
GLES3
Godot version 3.1 stable

UPDATE

I finally found that the performance drop is caused by ‘StyleBoxFlat’ in property ‘customstyle’. I replace it with Textures, now I got 60 FPS in Android. I don’t know why ‘StyleBoxFlat’ causing this, may be a bug in Engine. Thanks

It might be a bug. If you can provide reproduction steps, you may want to report it at: Issues · godotengine/godot · GitHub

avencherus | 2019-04-29 22:12

for android you should use GLES2

lxknvlk | 2020-03-24 18:42