Issue with displaying AnimatedSprite2D

Godot Version

4.4

Question

I uploaded my game to, and everything works fine on PC. But on mobile, animated sprites with large sprite sheets just appear as black squares (as shown in the screenshot). I exported it to HTML. How can I fix this issue? (Made in Godot). (upload://zK7r8M2ERrxecebWUGZ4zQZPVeq.jpeg)

How big are the sprite sheets? Any chance they’re larger than the max texture size for the platform?

A sprite sheet that appears as a black square on Android phones with a size of 6100x56 pixels. I also found out that this issue occurs only on Android; on iPhones, everything works fine.

I bet the android phone doesn’t support more than 4096x4096 textures. My advice would be, instead of one big row, make your 6100x65 pixel texture into a 1525x260 texture (so, four rows of sprite rather than one row). Godot handles 2D sprite sheets just fine, and if you need to manually select coordinates it’s pretty easy to do with shifting and masking.

Thanks, I’ll try!