Invalid dimensions selected for your chosen format.Please see -help for valid parameters.

I have the same error when I compress a texture (640*662) using ver2020R2.

However it works fine in ver1.6.

Maybe the reason is ASTC encoding has been built in texlib since 2020R2?