These are the export settings that the client requires according to his guidelines. The problem is that such an export generates an error "y lies outside the raster"
I went through the settings to figure out which parameter is causing the error. This is "Use Indexes". I turned off this option, the export is absolutely normal.
What is the reason and can it be fixed?
Export error
- Editado
Is your client really needing Use indexes
? That is normally for frame-by-frame animation:
Texture Packing - Spine User Guide: Options
I would not expect Use indexes
to affect packing, but the error message indicates a bug in Spine's texture packer. I recommend using the texture packer in the latest version of Spine, currently 4.0.64-beta, which probably has the bug fixed. Note you can pack your atlas with the new version of Spine and still use older runtimes. You will need to check Legacy format
so that the output can be used by older runtimes.
Be careful not to save your project with the newer version of Spine if you need to open the project with an older version.
Settings - Spine User Guide: Version
Thank you for answer!
I installed the beta 4.0.69 and new export showed a more detailed output
I don't really understand what is the problem with these images.
Those are only warnings, not errors. Does the resulting atlas work?
The texture packer matches image files to meshes using the mesh attachment name/path. The warning is intended to let you know the image file it found has different dimensions than expected.
It could the be the warning is shown incorrectly. Is it possible for you to send the project file and images so we can see the warnings? contact@esotericsoftware.com
There is no result atlas. The export process takes about 5 seconds and gives there errors, but again, when I turn off "Use indexes" it works correct. When I deleted both images from project, export works correct too.
I just renamed these images and it worked! Thanks for your help!
I'm glad it works for you, but that's odd you don't see an atlas file because those are warnings, not errors, unless there is more to the log?
I'd still like to see the project and images before you renamed them, so we can check that the warning is correct. We can try to build a project that is similar to what you are doing, but we can't be sure we'll see the same issue.