0 votes

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.
Godot version 3.1 stable

My scene


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

in Engine by (44 points)
edited by

It might be a bug. If you can provide reproduction steps, you may want to report it at: https://github.com/godotengine/godot/issues

for android you should use GLES2

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.