• Editor
  • Trouble exporting to .binary

Related Discussions
...

Hi! I'm currently working on the 3.7.87 and I'm having trouble exporting to .binary

It cannot be exported and notified: "Error: (x + width) is outside of raster"

Can someone help me :frowning:

Hello! could you please post or email the .spine project file and images so we can see the error?
If you send an email to contact@esotericsoftware.com please also mention this thread.

What is the largest image size you have in your project?
I could be that one of your images might be too large to fit in a 512x512 atlas. Reducing your skeleton size, or increasing your atlas size might resolve the problem.

4 months later

Hi, I am facing the same problem.

When I export the JSON file, the animation actually turns our way larger than the size of the images I use in the animation.
The scale was 1 when I first exported it, and I did not scale up any bone or attachment. When I export a PNG file it is actually
819 x 724 px, and I am not sure why is that.
So I try to scale down the size in pack setting, but faced this issue.

Would like to know if there is already a solution for this?

Hello!
I renew the request to receive a file to test the error 😃

Regarding the PNG frame size, it is calculated based on the space occupied by your assets for the whole animation + a little padding. So it is normal for your assets to be smaller than an exported PNG frame 🙂