Search Unity

Sprite Skin Bug - Change in the bones order

Discussion in '2D' started by adelinakolcheva96, Jun 3, 2020.

  1. adelinakolcheva96

    adelinakolcheva96

    Joined:
    Feb 11, 2020
    Posts:
    2
    Hi everyone,
    I have a 2D character that can change sprites ( like clothes, weapons etc) and I've used the Sprite Library Asset. All of my sprites have the exact same geometry, bones and weights, but for some reason, when I switch between different sprites, the Sprite Skin messes up the order of my bones and I have to put them in the correct place everytime which is a nightmare especially when in Playmode. I have attached screenshots below.
     

    Attached Files:

  2. Abed_Kadah

    Abed_Kadah

    Joined:
    Feb 13, 2020
    Posts:
    3
    Hi, i have the same issue, any news?
     
  3. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    @Abed_Kadah, could it be that your Sprites share the same bones, but they are in different order?
    If that is the case, the best is to update your Sprites so they also share the same order. If you cannot do this, you can also enable AutoRebind on the SpriteSkin component. Note that this adds an additional CPU cost every time you swap out the sprite in the SpriteRenderer.
     
  4. DeadCastles

    DeadCastles

    Joined:
    Sep 23, 2019
    Posts:
    14
    Bone Error.png

    I'm having the same issue, and AutoRebind made it worse.
     
  5. cyberdrunkdev

    cyberdrunkdev

    Joined:
    Dec 6, 2022
    Posts:
    32
    SAME ISSUE. Feels like this forum is dead.