• Editor
  • Multiple skins.... OR NOT? Super heavy file.

Hi everyone. I'm a Spine animator, and I'm having to work with somebody else's rig. The problem is, every time I open the file, it gets really slow, with a huge delay between my commands and the result in the screen. Like, normally my computer runs Spine at 60 fps, but with this file, it turns into 4 fps, making it impossible for me to work with it. I don't know exactly why this happens, except the fact that the rig is more complicated than it had to be. This animator doesn't work here anymore for several months.

Anyway, I'm trying to simplify the rig, so that at least I can work properly with it. I found this very strange window, in which there is a separation between the up and the bottom part. On the upper part there's only one skin, Skin01 (that is, the right number of skins of the project, as you can see indicated on the right panel). On the bottom part, however, the first skin appears to be multiplied several times, for no apparent reason. Whenever I change from one another, nothing changes.

Has anyone run into a similar problem with multiplied skins? Is it possible that this is causing the file to be slow? I'm using Spine 4.1.23 Pro, by the way. Other tips to help make the file less heavy are welcome.

Related Discussions
...

Strangely enough, the actual Spine file size appears to be normal. I've worked with larger files that didn't cause my computer to be slow.

Is that red color from the clipping attachment?

  • LaisLH hat auf diesen Beitrag geantwortet.

    SilverStraw Yes, there is one clipping attachment on each eye to avoid the iris from showing outside the eye.

    Somehow your project has the same skin pinned in the Skins view many times:
    http://esotericsoftware.com/spine-skins-view

    We have have one other report of this problem. We have been unable to figure out how the project could get in this state. It should not be possible for the same skin to be pinned multiple times, and certainly not hundreds or thousands of times. A related fix (with exporting) in 4.1.14 may have fixed it, but it seems it can still happen with the latest 4.1.

    You can unpin all those skins, but it may take a lot of clicks. If you email us the project (only the .spine file) we can fix it and send it back. If you see it again, please let us know, especially if you notice what triggers the same skin to appear in the Skins view pinned list more than once.

      Nate Wow, so that's the problem. I had no idea about skin pinning, or what it's for. I managed to fix the problem by exporting it via JSON to another project, and it's not lagging anymore. Thank you.

      Ah that's another way to fix it, good idea. Which skins are pinned are stored in the project file, but don't make it into the JSON, so the pins are gone when imported into a different project.

      Skins are extremely useful:
      http://esotericsoftware.com/spine-skins
      You can mix-and-match which skins are visible. Pinning skins in the Skins view allows you to make multiple skins visible at that same time. This is effectively the same as combining multiple skins into a single skin at runtime. It's a common way to assemble the attachments for a skeleton. We have a mix-and-match example project and this page breaks down how it works:
      http://esotericsoftware.com/spine-examples-mix-and-match