0 votes

I have done much testing and found out that when I use a TextureButton element and export to Android, it goes to a black screen, and then crashes.

Please help. I just updated to Godot Engine 3.3.4.stable, thinking it would fix this but it didn't. This is very annoying and has ruined 3 different projects.

The weird thing is that I can use a TextureButton with a Google Material Design Icon, that has a size of 48x48px, but not the buttons which are 238x61px doesn't, and crashes the app?!

The exact order I have these in is this:

App (control)
-Main Menu (control
-MainMenuCenterContainer (center container)
-AccountButtonsContainer (hbox container)
-SignIn (texture button)
-Register (texture button)

And when I have gone back to my other projects, all of them have one thing in common, they use the same TextureButton, and they use those same button textures.

It's so weird, because when I run it on my computer, it works perfectly! I have no idea what's going on!

Thanks in advance!

Godot version Godot Engine 3.3.4.stable (Steam Installation)
in Engine by (87 points)

Why would you use a non po2 texture like 238x61px on a mobile device?

What's a po2 texture?

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 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 webmaster@godotengine.org with your username.