+2 votes

I exported my project to windows and everything works fine, but exporting an apk to use on android some sprites disappears. I created na area2d with textureButton, but the sprite and the functionality of the buttons are gone on my android phone. I imported with gles3 and gles2, enabled all architetures but nothing changed.
I'm using 100x100 for all images. I don't know whats the difference between the sprites that work and the ones that don't. The sprites that don't work are being generated one by one, in tiles similar to a chess board, with a 12x8 board size. Also, my game is 1200x800.
I did found this: "Create a Control node and just reparent your top most node that contains your sprites/anything not rendering to the newly made control." But i'm not sure if I'm doing correct. I have a tilemap as a main node. It's child is control, and child of control is a texture button with a sprite that does not work on android.

Godot version 3.x
in Engine by (16 points)

I found a solution, it worked for me. Make sure the textures are directly in the "sprites" folder.

2 Answers

0 votes

I'm having the same problem.

by (14 points)

Which size do your textures have? Mobile GPUs generally can't display textures larger than 2048 in one dimension (e.g. 4096×2048).

0 votes

Change the compression mode in the import setting for your images
I'd recommend the Lossy Compression for mobile

by (4,972 points)
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.