quy77771

  • Unity editor : 2020.3.18f1
  • Spine : 4.1
I made emoji animation. It had curve scale below
AnimationCurve.png

I exported it with setting :
ExportSetting.png


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.
Error export json.png


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
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
quy77771
  • Postovi: 4

Misaki

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?
Avatar
Misaki

Misaki
  • Postovi: 1022

quy77771

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

Misaki

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
Avatar
Misaki

Misaki
  • Postovi: 1022

quy77771

Of course. I did it !
quy77771
  • Postovi: 4

Misaki

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.
Avatar
Misaki

Misaki
  • Postovi: 1022

quy77771

Thanks for the support. You are welcome !
quy77771
  • Postovi: 4

Misaki

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.
Avatar
Misaki

Misaki
  • Postovi: 1022


Natrag na Bugs