• Editor
  • Problem Exporting Multiple Skeletons from a Single File

I have a single .spine file with multiple skeletons on it.

I tried to export it to unity, but something goes wrong. And I cannot import the resulting files on Unity.

But, if I delete all skeletons but one, and try to export again it works!

I think it seems to be a bug when exporting multiple skeletons.

Am I right?

Thanks

My guess is those skeletons you have not visible are referencing those images in their relative slot. I don't think it is possible to export just one skeleton from a project,.

Multi-skeleton is certainly not broken in the tools and runtime, I am successfully using this right now on version 2.1.27 (OS X), I've only got two skeletons in a file for the human male and human female, but as you can see Spine correctly exports each of their .png, .atlas.txt, and .json.txt files for Unity.

Looking at your error messages, one of your skeletons is referencing a few spt-archer* image files which don't exist, while two other skeletons are referencing missing L-lowerArm, and R-hand1 images ... and another (or one of the previous) is also referencing a missing head2 file.

In order to keep my spine characters organized I use separate .psd files and subfolders. Additionally for Unity I got from the asset store a PSD->PNG tool (called "PSD Layers to PNG Files") to automatically extract all the layers from the .PSD, trim them, and place them in a folder that will be used by Spine.