From 4c1e01474e68ba91a6a3f12a696e9af5997d16b8 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 4 Sep 2019 17:19:24 +0200 Subject: [PATCH] [unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464. --- .../Components/SkeletonUtility/SkeletonUtilityBone.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonUtility/SkeletonUtilityBone.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonUtility/SkeletonUtilityBone.cs index d99813f39..1764cfbf5 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonUtility/SkeletonUtilityBone.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonUtility/SkeletonUtilityBone.cs @@ -119,6 +119,7 @@ namespace Spine.Unity { return; } } + if (!bone.Active) return; var thisTransform = cachedTransform; float skeletonFlipRotation = Mathf.Sign(skeleton.ScaleX * skeleton.ScaleY);