• Bugs
  • Export json error from spine to unity

  • Изменено
Related Discussions
...
  • Unity editor : 2020.3.18f1
  • Spine : 4.1
    I made emoji animation. It had curve scale below

    I exported it with setting :

Then, I imported it to unity and got json file :
EMOJI_32.json

I copy and paste json to json editor. You can see the value of scale is wrong. It makes my animations inaccurate.

I fixed it by change 71582792 to 7.1582792 and 2147483648 to 2.147483648.
I guess something went wrong when converting the object to json

Sorry for the trouble.

Then, I imported it to unity and got json file :

Let me confirm what you mean by that. Unity should not overwrite the skeleton's JSON file, but when you import the JSON exported from Spine into Unity, the values in it will change?

Unity didn't change it's value. when export from spine I got that json file. I checked it in Unity.

So the values in the exported json file are wrong at the time of exporting from Spine without importing into Unity, right? If so, could you please send the Spine project via email so that we can investigate the problem?: contact@esotericsoftware.com

Of course. I did it !

Thank you for sending your Spine project! I have confirmed I can reproduce the problem on my PC. The cause seems to be Animation clean up because if I disabled it, curve values are exported correctly. We are sorry for the inconvenience, but please wait a little longer until we fix the problem.

Thanks for the support. You are welcome !

месяц спустя

I have created an issue ticket for this problem:
https://github.com/EsotericSoftware/spine-editor/issues/700

We will inform you on this post when the problem is fixed.


We've fixed it in 4.1.10, which we'll release today. Please update it when it is released and check if the issue is solved.