Hello.
Intermittent? But Spine.Unity.MeshGenerator.BuildMeshWithArrays has frequently encountered problems.
I didn't change the data separately during runtime, SkeletonData in SkeletonGraphic
Only Managing SetActive
Exception is occurring in the call stack below when Canvas is updated.
IndexOutOfRangeException: Index was outside the bounds of the array.
Spine.Unity.MeshGenerator.BuildMeshWithArrays (Spine.Unity.SkeletonRendererInstruction instruction, System.Boolean updateTriangles) (at Assets/Spine/Runtime/spine-unity/Mesh Generation/MeshGenerator.cs:922)
Spine.Unity.SkeletonGraphic.UpdateMeshSingleCanvasRenderer (Spine.Unity.SkeletonRendererInstruction currentInstructions) (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:731)
Spine.Unity.SkeletonGraphic.UpdateMeshToInstructions () (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:688)
Spine.Unity.SkeletonGraphic.Rebuild (UnityEngine.UI.CanvasUpdate update) (at Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs:286)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/CanvasUpdateRegistry.cs:215)
UnityEngine.UI.LoopScrollRectBase:LateUpdate() (at ***)
The update to the latest version, 4.1.12, is occurring the same.
It's happening the same as what someone else wrote.
https://esotericsoftware.com/forum/d/24056-index-was-outside-the-bounds-of-the-array-in-meshgenerator
Using Unity Version : 2022.2.17
Spine : 4.1.12
We don't have much time. Please help me quickly.