• Editor
  • Possible bug in the editor regarding placeholders / skins

Related Discussions
...

When adding a new skin placeholder to a rig and then an attachment to that placeholder the attachment disappears (in the Hierarchy view) when I select a new skin? Has something changed in the work flow?

Anyone seen this in the latest spine build? Just for reference I had already worked / animated the rig then added the placeholder afterwards using the process described here:

http://esotericsoftware.com/spine-skins#Shortcuts


I noticed adding a new skin to another rig (which already uses several skins) that the attachment regions disappear for the new skin too 🙁

Am I doing something wrong?

No, rubberbands, the skin placeholder workflow hasn't changed.
A skin placeholder is meant to display within itself only the elements that should be present in the selected skin, so if you change skin, of course they disappear.
As you can read in the Spine User Guide: http://esotericsoftware.com/spine-skins#Attachments

If a different skin is made active, those attachments will disappear and any attachments defined for the newly activated skin will appear.

And of course this behaviour is what makes possible the use of skins.

Hey, thanks for the reply, I understand what should happen, and have indeed had this working in the past in previous versions. I probably wasn't clear with my issue.

So I'm using a character rig which already has multiple skins which I can choose between to see the sprites change (created several months ago in a slightly earlier version of spine). Revisiting this rig, I try to add a new skin. In the hierarchy window in the setup view the attachments directly under each skin placeholder disappear when I select the new skin. Selecting a previous working skin shows the attachments again in the hierarchy window. I assume that I shouldn't have to add attachments to each skin placeholder each time I add a new skin? I'm pretty sure I didn't have to do this when I set the file up? If I remember rightly, I only had to adjust the source location for each placeholder in each skin.

If you add skins throught the Photoshop script, you don't have to do this by hand, but the skins are automatically created. If you want to add new skins to the existing ones, though, you'll have to either manually place the new attachments in the right slots, or duplicate an existing skin and modify its path.

This video should explain the last example well:

Awesome, thank you!


Yes, this solved my issue, I completely forgot the 'copy skin' step in the workflow, instead I was trying to make a new skin :/ Thanks for the awesome support as ever! I do have another small issue with the editor where during a preview a sprite will show as a black square or occasionally show a green loading place holder instead, any ideas what this might be?


Oopsey, got this one too! was setting multiple show / hide keys on the same node! This week isn't going so well!! 😃

That's ok, A couple of times I imported skins through the photoshop script and got desperate because I saw nothing in Spine, just to remember I needed to activate the skin 😛 so, really anyone can have stressful times and forget parts (:
Happy you figured it out!😃