Thanks for sending the reproduction package.
Unfortunately the Unity project seems to include your whole project with 10 scenes and additional third-party assets, instead of being a minimal reproduction Project with one scene and only a single skeleton. When I opened it, it was even stuck in an import loop for 8 minutes, perhaps because the project is 1GB in size. It should be showing the problem with a minimum of scripts involved to trigger the problematic behaviour. It would be best when it's automatically triggered when playing the scene without any user input required.
Could you please strip down your project accordingly and send it again? You can also delete the Library
directory before packing, as it only contains imported data. Then we can have a look at the project and efficiently find any problems.
Thanks for sending the updated Unity project, we can now see the problem. It's basically that BoneFollower
provides no option to respect parent bone scale in any way. Your skeleton has a bone with uniform scale 0.4 in the hierarchy, which is unfortunately ignored since the BoneFollower
only follows the bone local scale.
We have just added a parameter to BoneFollower
and BoneFollowerGraphic
:
changelog.md написал
BoneFollower
and BoneFollowerGraphic
now provide an additional Follow Parent World Scale
parameter to allow following simple scale of parent bones (rotated/skewed scale can't be supported).
New spine-unity 4.0 and 4.1-beta unitypackages are available for download here as usual:
Spine Unity Download
If you want to integrate the changes to your 3.8 spine-unity installation, you can simply copy the BoneFollower.cs
and BoneFollowerInspector.cs
files over your respective files. You can do the same with BoneFollowerGraphic.cs
and BoneFollowerGraphicInspector.cs
if you need this component updated as well.