Thanks for the ideas, I was trying to make a minimal unity project, but there are so many dependancies and combinations of scripts that makes it hard to do that. So I'm gonna try and find the root of the problem in the main project instead.
I can't remember I'm using constraints regarding the legs in Spine, but I'll try to take it one step at a time to see where the problem lies.
I'll be back. 😉
I've been banging my head for several hours on this, without a solution, so now I'm back to the second of the 2 code changes i mentioned:
I'm currently using this code:
// Make a new skin without head and hair
customSkin = customSkin ?? new Skin("custom skin"); // This requires that all customizations are done with skin placeholders defined in Spine.
I'm not doing skin placeholders in Spine as far as I know.
This is the old code, which had that comment from your code, and I am NOT customizing on the default skin:
//customSkin = customSkin ?? skeleton.UnshareSkin(true, false, skeletonAnimation.AnimationState); // use this if you are not customizing on the default skin.
So what is the correct code to "UnshareSkin" in 4.0? I just noticed when I select the Default skin, everything but the arms go away, so it's very likely this is the issue..
Thanks!
My guess is it's related to this comment in the change log "Removed all Spine.Unity.AttachmentTools.SkinUtilities Skin extension methods. These have become obsoleted and error-prone since the introduction of the new Skin API in 3.8. To fix any compile errors, replace any usage of Skin extension methods with their counterparts, e.g. replace occurrances of skin.AddAttachments() with skin.AddSkin()."
So do I need to update my rig from the Spine editor, if so, how?
Is there a new version of the Mix and match that works when I have two skins in Spine and not using the default skin?
So if I deselect skins in the editor, this is what I get, and it seems to be the same exact thing that are left after moving around the character, and the same as "default" skin in Unity. So I'm 99% it's related to skins and the "UnshareSkin" feature not being available.
How can I solve this, as I want to base the new skin on either the Boy or girl Skin, then I replace the attachment in the weapon slots with the images being loaded from Unity.
Another solution might be to copy the ”boy” skin to the default. Can you do that, and would that work, or would that use the boy’s attachments when doing the mix and match for the weapons using the ”girl” skin?