I exported it to binary format checking "nonessential data" flag.
I'm getting this exception when loading the exported model using libgdx runtimes (just updated it right now), the full stack (my game and libgdx included) is:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.IndexOutOfBoundsException: index can't be >= size: 1 >= 1
at com.badlogic.gdx.assets.AssetManager.handleTaskError(AssetManager.java:542)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:369)
at br.com.animvs.engine2.utils.AnimvsLoadController.update(AnimvsLoadController.java:94)
at br.com.animvs.arrow.controller.LoadController.update(LoadController.java:100)
at br.com.animvs.arrow.controller.ShootingGalleryController.update(ShootingGalleryController.java:254)
at br.com.animvs.arrow.ShootingGalleryGame.render(ShootingGalleryGame.java:49)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
Caused by: 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:426)
at com.esotericsoftware.spine.SkeletonBinary.readSkeletonData(SkeletonBinary.java:179)
at br.com.animvs.engine2.graficos.loaders.AnimacaoSkeletalDataLoader.load(AnimacaoSkeletalDataLoader.java:38)
at br.com.animvs.engine2.graficos.loaders.AnimacaoSkeletalDataLoader.load(AnimacaoSkeletalDataLoader.java:22)
at com.badlogic.gdx.assets.AssetLoadingTask.handleSyncLoader(AssetLoadingTask.java:105)
at com.badlogic.gdx.assets.AssetLoadingTask.update(AssetLoadingTask.java:87)
at com.badlogic.gdx.assets.AssetManager.updateTask(AssetManager.java:479)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:367)
... 6 more
The stack points to SkeletonBinary::readAnimation on line 426, which is the first line inside the FFD for:
Skin skin = skeletonData.getSkins().get(input.readInt(true) + 1);
if i remove the "+ 1" increment from this line, the IndexOutOfBounds error goes away and model loads correct. I guess this make sense a little bit since i got only one skin on the model.