qiutao

Exception: Index was outside the bounds of the array.

Spine.RotateTimeline:Apply(Skeleton, Single, Single, ExposedList`1, Single, MixBlend, MixDirection) (at Assets/Spine/Runtime/spine-csharp/Animation.cs:351)
Spine.AnimationState:Apply(Skeleton) (at Assets/Spine/Runtime/spine-csharp/AnimationState.cs:257)
Spine.Unity.SkeletonAnimation:ApplyAnimation() (at Assets/Spine/Runtime/spine-unity/Components/SkeletonAnimation.cs:225)

感觉应该是把俩个skeletonDataAsset的动画与骨骼搞混了。 A动画有81根骨骼。B动画没有。然后B动画加载时却报了这个错。访问了第81根骨骼
qiutao
  • Postovi: 1

Harald

qiutao je napisao/la:spine3.8在同时加载两个不同的skeletonDataAsset时报异常
你能描述一下你是如何同时加载两个不同的 SkeletonDataAsset 的吗? 你的意思是你把两个导出的骨架 .json.skel.bytes 文件放在同一个目录中吗? 如果是,这应该不是问题,因为每个骨架 .json.skel.bytes 文件都是单独导入和加载的。

Could you please describe how you are loading two different SkeletonDataAssets at the same time? Do you mean that you placed two exported skeleton .json or .skel.bytes files in the same single directory? If yes, this should not be a problem, as every skeleton .json or .skel.bytes file is imported and loaded separately.
Avatar
Harald

Harri
  • Postovi: 3914


Natrag na 中国Spine用户