Unity ASTC compression Texture compatibility

I open this thread to know what kind of desktop / mobile platform are supported.

I try to build on my iPad with ASTC compression but I cannot see the textures …

It is a bug or what?

Thanks

See http://docs.unity3d.com/Documentation/Components/class-Texture2D.html for the list of formats that are supported on each platform.

Thanks Graham for the link.

I didn’t see the doc update with ASTC.

Thanks

Link is broken, can anybody point me in the right direction ?
(or tell me whether ASTC is supported on iOS)

The working link would be:

But that does not help much because ASTC is not on the list at all.
Inside of unity you can try to set a overwrite on the compression and size per platform and you will see that ASTC is only available on Android. (Unity 4.6.1f1)

Thanks for clearing that up :slight_smile:

Sorry for digging up this topic but ASTC should be supported on Metal devices:
https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/WhatsNewinOSXandiOS/WhatsNewinOSXandiOS.html

Looks like unity have to integrate that in the future.

I made feedback for ASTC on iOS feature.
https://feedback.unity3d.com/suggestions/astc-texture-compression-support-for-ios

1 Like

Weird think happen with ASTC currently.
If your force ASTC in Default texture compression, it will decompress, you’re right, but I don’t think it really decompress to full quality 32bit.
We tried to make this to have a low impact on device storage usage, and we noticed that textures were uncompressed at beginning according to logs, but the texture quality was awful.

1 Like

That’s not strange, it is Unity’s behavior.
Unity compresses texture on build time, and if the build runs on device that doesn’t support texture’s compression format, Unity decompress it by CPU and handle it as 32bit uncompressed.
Texture compression is lossy, so it causes unrecoverable quality and huge memory…
The problem is that Unity decompresses ASTC texture runtime on ASTC-compatible iOS device.

2 Likes

Thank you, good to know