The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

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 (236 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 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.