I have 3 texture profiles for compressing my images (all of them pngs):
rgb_best settings: rgb, best, basis uastc
rgba settings: rgba, best, basis uastc
rgb_medium settings: rgba, best, basis etc1s
Using rgb, best, basis etc1s for the profile sometimes works, but most times fails. When switching to rgba for the format, it transcodes and renders fine on my mac and also on linux.
But running the bundle on Android shows something odd:
for some, but not all of these textures using ects1 transcoding ends in failure and thus the textures render black. These failing textures show a different texture format compared to the others.
Logcat:
2022-08-05 14:25:06.458 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/room6.texturec from 16 to 10 (TEXTURE_FORMAT_RGBA_ASTC_4x4 -> cTFASTC_4x4_RGBA)
2022-08-05 14:25:06.463 8488-8510/com.compressiontest.todo E/defold: ERROR:GRAPHICS: Transcoding failed on level 0 for /assets/rgb_medium/uvs_medium/room6.texturec
2022-08-05 14:25:06.463 8488-8510/com.compressiontest.todo E/defold: ERROR:GAMESYS: Failed to transcode /assets/rgb_medium/uvs_medium/room6.texturec
2022-08-05 14:25:06.463 8488-8510/com.compressiontest.todo E/defold: ERROR:GAMESYS: No matching texture format found for /assets/rgb_medium/uvs_medium/room6.texturec. Using blank texture.
-- these work, note the different format
2022-08-05 14:25:06.483 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden2.texturec from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
2022-08-05 14:25:06.533 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden6.texturec from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
2022-08-05 14:25:06.573 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden5.texturec from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
2022-08-05 14:25:06.618 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden4.texturec from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
2022-08-05 14:25:06.663 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden3.texturec from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
-- next error for this and all other images that follow
2022-08-05 14:25:06.703 8488-8510/com.compressiontest.todo I/defold: INFO:GRAPHICS: Transcoding: /assets/rgb_medium/uvs_medium/boden1.texturec from 16 to 10 (TEXTURE_FORMAT_RGBA_ASTC_4x4 -> cTFASTC_4x4_RGBA)
2022-08-05 14:25:06.718 8488-8510/com.compressiontest.todo E/defold: ERROR:GRAPHICS: Transcoding failed on level 0 for /assets/rgb_medium/uvs_medium/boden1.texturec
2022-08-05 14:25:06.718 8488-8510/com.compressiontest.todo E/defold: ERROR:GAMESYS: Failed to transcode /assets/rgb_medium/uvs_medium/boden1.texturec
2022-08-05 14:25:06.718 8488-8510/com.compressiontest.todo E/defold: ERROR:GAMESYS: No matching texture format found for /assets/rgb_medium/uvs_medium/boden1.texturec. Using blank texture.
I changed the order of the profiles and this did make no difference.
Any other compression type works without problems.
Does anyone know what might be happening here or what I might have done wrong?