Sorry to resurrect an older thread but I've run into this as well and I'm running out of ideas to approach this problem.
I have created square power-of-2 png textures with texturepacker for my app. I create atf versions from the pngs for a web app with the following command:
png2atf.exe -c d -q 0 -r -i assets.png -o assets.atf
These load fine with no errors or warnings and the web player works great.
When I create the atf files for iOS i use this command:
png2atf.exe -c p -q 0 -r -i assets.png -o assets.atf
And all of the atf textures I create for iOS give me the following error at load time:
ArgumentError: Error #3677: Texture decoding failed. Internal error.
Like others above, the atf textures load up fine in AtfViewer and I don't get any warnings when creating the atfs.
mtvg said above that he tried creating the atf file with all 3 formats instead of just PVRTC and that worked for him, but when I try that I still get the same behavior with the internal error.
I am using Starling 1.7, AIR SDK 20.0, and I use -swf-version=20 in my compiler settings. I'm deploying to a iPad Air with iOS 9.2. I also tried an iPad Air with iOS 8.3 on it, but got the same error result.
In a debugger I can follow along down into the
I am loading the assets from a remote server URL. I see guilhermopazuch above said it worked for him to embed them; that's not an option for my app ultimately and the app isn't easy to change to try that but I am about to try it just to see if I get different results.
Anyone have any suggestions for other things to try?