• Bugs
  • Unity Skin.GetAttachments returns wrong attachments

Hi. I found a bug.

  1. Create cloned skin by SkinUtilities.GetClonedSkin() cloneAttachments : true
  2. Get attachments by clonedSkin.GetAttachments().

Returned attachments are not cloned. They are source skin's attachments.

SkinUtilities.CopyTo reused source skin's key. it contains source attachment.

destinationAttachments[e.Key] = e.Value.GetCopy(cloneMeshesAsLinked);

Skin.GetAttachments returns attachments from key.

Thanks.

Related Discussions
...
  • Bearbeitet