Hi. Problem is here again.
1.8.41 Pro, latest libgdx runtime. Json works good, but binary is broken.
If i just add mesh without keys and use SpriteBatch for render, it crash with:
Exception in thread "LWJGL Application" java.lang.RuntimeException: PolygonSpriteBatch is required to render meshes.
at com.esotericsoftware.spine.SkeletonRenderer.draw(SkeletonRenderer.java:144)
Using PolygonSpriteBatch fixed it, but if i add FFD animation, i have this:
Exception in thread "LWJGL Application" java.lang.IndexOutOfBoundsException: index can't be >= size: 1 >= 1
at com.badlogic.gdx.utils.Array.get(Array.java:127)
at com.esotericsoftware.spine.SkeletonBinary.readAnimation(SkeletonBinary.java:395)
at com.esotericsoftware.spine.SkeletonBinary.readSkeletonData(SkeletonBinary.java:162)