ERROR: invalid icon texture format: ETC2_RGBA8

I am getting this error in Cloud Build for an Android build. The log doesn’t indicate which icon or text the error refers to:

662: [Unity] Hashing assets … 0.000 seconds
2663: [Unity] file open: 0.000 seconds (2 files)
2664: [Unity] file read: 0.000 seconds (0.021 MB)
2665: [Unity] hash: 0.000 seconds
2666: [Unity] Updating Assets/Icons/App_Icon_72x72.png - GUID: e28b52f8515b670448a5bf18f8da4068…
2667: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
2668: [Unity] ----- Compute hash for Assets/Icons/App_Icon_72x72.png.
2669: [Unity] done. [Time: 113.942406 ms]
2670: [Unity] Refreshing native plugins compatible for Editor in 13.23 ms, found 3 plugins.
2671: [Unity] Preloading 1 native plugins for Editor in 20.45 ms.
2672: [Unity] ----- Total AssetImport time: 0.286653s, AssetImport time: 0.219199s, Asset hashing: 0.001487s [43.2 KB, 28.372606 mb/s]
2673: [Unity] WARNING: ETC2 texture format is not supported, decompressing texture
2674: [Unity] ERROR: invalid icon texture format: ETC2_RGBA8

I have four app icons and I have tried saving them in various formats. The error, however, may not pertain to them; I can’t tell. I have also selected “Override for Android” for each of the icons and selected the format RGB24. I saw a suggestion here to remove compression and this is the on;y way I can see to do that.

Other than this error, the app build was successful. I do not get any errors when I compile the app in the Unity editor.

Can anyone tell me what this error means and what file it refers to?

See my reply here: Broken Icon on Cloud Build Project Website - Unity Services - Unity Discussions

Basically, you need to disable compression for whichever texture is being used as your icon until we roll out a proper fix on our end.

How do I disable compression?

Select the texture in the editor and in the inspector there are default import settings as well as platform overrides (at the bottom). Make sure “compression” is set to “None” (and make sure that’s set to “None” for android if you have “override for android” checked).

The Compression setting is disabled.

Do you have an AssetPostProcessor that might be changing the texture compression settings (or have one as part of a plugin you are using)?

None that I know of.

I have the same issue I made sure I have no compression on my icon but it won’t show on the website or the build

I fixed this by setting my icon to be RGB24 in the override panel if that helps anyone. I thought you had to uncheck the panel.

1 Like