A couple of times I have been gradually adding images to a sprite atlas, and then reached a point where the project will no longer build and launch. I get an “unknown” error reported on line 0 of the corresponding .atlas file.
I use margin 2, extrude borders 2 and inner padding 0. The atlas is well within 1024x1024 in size.
Strangely, this error goes away and the project launches fine if I set inner padding to a nonzero value like 1 or 2 instead. But the .atlas file is identical except for that value on the final line.
Normally I’d just use this as a workaround, but in my current project I don’t want inner padding on my sprites, for GUI layout reasons. Is there any other way to solve the problem?