Android app crashes when using a TextureButton node in the scene

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

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!

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

Wakatta | 2021-10-14 00:15

What’s a po2 texture?

SF123 | 2021-10-14 22:29