himanshuB42 Glad to hear the problem has been resolved!
What I did was simply delete the drawOrder
information of the attack
animation. This means that the following has been deleted:
"drawOrder":[{"time":0,"offsets":[{"slot":"knife-blank-placeholder-right","offset":-3}]}]},
It is not clear why this line was actually a problem, as the written content itself appears to follow the correct format.
The process I tried was a completely manual way of checking things:
When I looked at the JSON file you sent us, it seemed to follow the Spine JSON export format correctly overall, and the only error in the spine.log file was reading the animations, so I assumed there was only something wrong with the animations. So I tried to see if I could delete the animations information and import it, and it worked, so I deleted some of the animation information and tried to import it. Then I realised that the import only didn't work when the data of the attack
animation was included, and when I checked the difference with the other animations, I found that only this animation had a drawOrder
timeline, so I tried deleting it and the import was successful.
It may not be suitable for checking large numbers of files, but if the import doesn't seem to work with other files that contain drawOrder
timelines, you may want to delete them on DragonBones and reconfigure them on Spine. I hope this helps!