Hi, all!
I got a large number of spine animation which designed by previous artist need to be reimported to current project.
However, as I found, half of the Spine Json files cannot be imported, which with ("edges": null) description in mesh-type skin.
The error in console shows "Error reading skeleton JSON file for SkeletonData asset" for all Unity version and Spine version I tried.
eg.
"body": {
"body": {
"type": "mesh",
"name": "body",
"width": 200,
"height": 200,
"uvs": [1, ……, 26],
"vertices": [2,……1],
"hull": 10,
"edges": null // this line with error in any version of Unity and Spine
}
},
That is, If I have successfully imported a Spine Json with "edges": [1,4……8] and I change this line to "edges": null, the skeletonData will have the same error as all I tested.
I tried to learn the "JSON export format" article which said mesh attachment attributes 'edges','width','height' are "Nonessential". So…
- Is the any version of Spine or Unity that I can import JSON with ("edges": null) , if the version is the problem?
- Is there any way I can calculate default 'edges' values myself, because I cannot import them to any software?
- Or, is that the only way to re-export ALL Spine JSON with 'edges' again? 🙁
Many thanks!