Hello
I'm having an issue loading a skeleton model into the game because of a NullPointerException
:
Caused by: java.lang.NullPointerException: Cannot invoke "com.badlogic.gdx.utils.JsonValue.asFloat()" because "curve" is null
at com.esotericsoftware.spine.SkeletonJson.readCurve(SkeletonJson.java:1032)
at com.esotericsoftware.spine.SkeletonJson.readAnimation(SkeletonJson.java:848)
at com.esotericsoftware.spine.SkeletonJson.readSkeletonData(SkeletonJson.java:347)
... 22 more
I'm using the libGDX runtimes version 4.0.18.1
, and got the same error on 4.0.18.2-SNAPSHOT
.
The skeleton was exported on version 4.0.22
(I just learned about keeping Editor and Runtime versions synchronized while searching for similar issues here).
Assuming the difference in versions is indeed the issue (lesson learned), I have two questions:
- After reverting the editor from 4.0.22 to 4.0.18, how do I open the .spine file there to export it again? The editor won't open the file due to it being edited in a newer version.
- Where can I find the
4.0.22
runtimes for the libGDX backend?
Or perhaps that's a completely unrelated issue. I can send the project files if necessary.
Thanks! :grinteeth: