OutputDataPort

Hi,

I am using spine v 3.7 for creating the assets. Then I need to use spSkin_addSkin feature that available in 3.8. But when I replace all the files in 3.7 with 3.8, I get an error when creating skeleton node.
skeletonNode = [SkeletonAnimation skeletonWithFile:skeleton atlasFile:atlas scale:scale];
This error happened on SkeletonJson.c at line 939
for (attachmentsMap = Json_getItem(skinMap, "attachments")->child; attachmentsMap; attachmentsMap = attachmentsMap->next) {
From what I have discovered, there's a difference about json skeleton from 3.8 and 3.7. In each skin node, there is an attachments. So my question is, how to support skeleton from previous spine version when I need the 3.8 runtimes?

Any ideas? Thank you.
OutputDataPort
  • Beiträge: 10

badlogic

You have to use the same editor and runtime versions I'm afraid. Loading 3.7 .json files with the 3.8 runtime will not work.
Benutzeravatar
badlogic

Mario
  • Beiträge: 1924


Zurück zu Bugs