Hi, I'm seeing an error when I run the following codes
m_spineAnim.skeletonDataAsset = data.SkeletonData;
m_spineAnim.Initialize(true);
and the errors I'm seeing are as follows:
IndexOutOfRangeException: Index was outside the bounds of the array.
Spine.TranslateTimeline.Apply (Spine.Skeleton skeleton, System.Single lastTime, System.Single time, Spine.ExposedList`1[T] firedEvents, System.Single alpha, Spine.MixBlend blend, Spine.MixDirection direction) (at ./Library/PackageCache/com.esotericsoftware.spine.spine-csharp@4fb96bb24f/Animation.cs:531)
Spine.AnimationState.Apply (Spine.Skeleton skeleton) (at ./Library/PackageCache/com.esotericsoftware.spine.spine-csharp@4fb96bb24f/AnimationState.cs:266)
Spine.Unity.SkeletonAnimation.ApplyAnimation () (at ./Library/PackageCache/com.esotericsoftware.spine.spine-unity@4fb96bb24f/Runtime/spine-unity/Components/SkeletonAnimation.cs:252)
Spine.Unity.SkeletonAnimation.Update (System.Single deltaTime) (at ./Library/PackageCache/com.esotericsoftware.spine.spine-unity@4fb96bb24f/Runtime/spine-unity/Components/SkeletonAnimation.cs:239)
Spine.Unity.SkeletonAnimation.LateUpdate () (at ./Library/PackageCache/com.esotericsoftware.spine.spine-unity@4fb96bb24f/Runtime/spine-unity/Components/SkeletonAnimation.cs:280)
Spine.Unity.SkeletonRenderer.Initialize (System.Boolean overwrite, System.Boolean quiet) (at ./Library/PackageCache/com.esotericsoftware.spine.spine-unity@4fb96bb24f/Runtime/spine-unity/Components/SkeletonRenderer.cs:427)
Spine.Unity.SkeletonAnimation.Initialize (System.Boolean overwrite, System.Boolean quiet) (at ./Library/PackageCache/com.esotericsoftware.spine.spine-unity@4fb96bb24f/Runtime/spine-unity/Components/SkeletonAnimation.cs:187)
Using the following spine packages:
spine-csharp runtime 4.1.2
spine-unity runtime 4.1.37