[HTML5] Invalid compressed image size - Can't set 1x1 texture for model

Hi!

I tried to upload my game to itch, but it looks like there is some kind of a problem with a texture:

image

And it’s visible in canva, that one model (rocks) is black instead of white:
HTML5:

Works correctly in Editor’s build and on Windows and Linux:

It uses the very same material as all other assets, but there is this texture assigned (it’s a 1x1 white pixel):
white
^ Yes, I attached it here.

I guess it can’t be 1x1, because all other models with other, bigger textures works and when I change the texture on rocks for the other e.g. huge texture with brown color - it works (on right):

So there is simple workaround for this issue, but I would love to hear if it’s intended or not (since somehow I love to use 1x1 single solid color textures, because why would I need more information from a texture, if it’s for a solid color surface? :sweat_smile: )

Defold 1.9.2
Engine SHA1: 3251ca82359cf238a1074e383281e3126547d50b

EDIT:
Looks like 4x4 is the minimum dimension of a texture that works :sweat_smile:

2 Likes