Hello,
This error occured when i tried to unpack texture after importing the .json file. I saw someone else have this error here, but that was just because the image sizes didn't match. For me, they;re both 1024x1024, both in .atlas and the image.
I don't know how to fix this, can anyone help?
ERROR: Unable to unpack atlas:
[awt.image.RasterFormat] negative or zero width
at java.awt.image.Raster.<init>(Unknown Source)
at java.awt.image.WritableRaster.<init>(Unknown Source)
at sun.awt.image.SunWritableRaster.<init>(Unknown Source)
at sun.awt.image.ByteComponentRaster.<init>(Unknown Source)
at sun.awt.image.ByteInterleavedRaster.<init>(Unknown Source)
at sun.awt.image.ByteInterleavedRaster.createWritableChild(Unknown Source)
at java.awt.image.BufferedImage.getSubimage(Unknown Source)
at s.zoM.(:212)
at s.zoM.(:191)
at s.zoM.(:124)
at s.weE.(:138)
at s.Ckx.(:571)
at s.SHC.(:593)
at s.ejM.(:65)
at s.SpW.(:98)
at s.mnK.(:47)
at s.vcv.(:166)
at s.mnK.(:50)
at s.BpY.(:211)
at s.BpY.C(:186)
at s.Ckx.I(:1031)
at s.OAu.L(:491)
at s.gtM.run(:267)
ERROR: Unable to unpack atlas
What version of Spine are you using? Try unpacking with the latest, or latest beta.
The texture unpacker in the Spine trial should work. Can you post or email the atlas file and images that you aren't able to unpack? contact@esotericsoftware.com
We'd still like to see the problematic file so we can give a better error message.
Thanks! I see a different error message:
For input string: "4""
This makes more sense, but we've still improved it a bit. Now it displays the problematic line, eg:
Error reading texture atlas file: path/to/problematic.atlas
Line: bounds:415,839,7,4"