Hi,

I've been trying to get access to the individual sprites exported inside of a spine atlas in Unity. Something where they appear like this :

Is that possible or should I be using a different sprite packer? Alternatively, I wouldn't mind each sprite to be it's own texture so long as the names fit the names of the parts in spine2D

Thanks!

Related Discussions
...

I ended up finding how to do this. For posterity, you can click the Spine Atlas Asset that is generated by unity when importing and click on the "apply regions as texture sprite slices" button.


This seems to be exactly what I was looking for but I would still prefer to have such an option done automatically if someone knows of one.

Of note however, this doesn't play well with rotations or polygon regions (at least not that I could see) as it seems to be ignoring image rotations and always slices as a rectangle.

    Godfather This seems to be exactly what I was looking for but I would still prefer to have such an option done automatically if someone knows of one.

    Glad to hear you've figured it out, thanks for getting back to us.

    If by "to have such an option done automatically" you mean not having to click the button, you could always write your own editor scripts which call the same code upon import. You can check out the code executed upon button press here:
    EsotericSoftware/spine-runtimesblob/4.2/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Asset%20Types/SpineAtlasAssetInspector.cs#L157-L161

    Godfather Of note however, this doesn't play well with rotations or polygon regions (at least not that I could see) as it seems to be ignoring image rotations and always slices as a rectangle

    Please note that the Unity sprite atlas Sprites unfortunately provide only a subset of the Spine atlas functionality, so unfortunately many Spine atlas features can't be mapped:
    https://docs.unity3d.com/6000.0/Documentation/ScriptReference/SpriteMetaData.html