• Unity
  • question about updating skeleton data in Unity

Hello, here are some questions about updating skeleton data in Unity.

I tried to update my spine animation by replacing the spine asset though window file explore.
But after I replaced the asset, the skeleton data didn't update with the added animation.
I tried to reimport and refresh the spine folder but it still didn't work.
(If I deleted the asset inside the folder and put in a new of asset, it worked again. But I had to reassign the spine used in Unity... )

p.s. I used the same method to update another spine folder, the skeleton data updated with the added animation and already thing is alright. Only one of the spine folder got this problem.

What should I do?
Thank you so much.

Related Discussions
...

I'm sorry to hear you're having trouble. Where did you check to see if the skeleton was updated? If you only checked by playing the scene, could you please check the SkeletonDataAsset in the Preview at the bottom of the Inspector window? If the animation is not updated in the Preview too, then the skeleton data files have failed to update, but if you can correctly see the updated animation there, then you have not correctly specified the animation to play in the scene. If it is the latter case, please show us your script to animate the skeleton.

Misaki a écrit

I'm sorry to hear you're having trouble. Where did you check to see if the skeleton was updated? If you only checked by playing the scene, could you please check the SkeletonDataAsset in the Preview at the bottom of the Inspector window? If the animation is not updated in the Preview too, then the skeleton data files have failed to update, but if you can correctly see the updated animation there, then you have not correctly specified the animation to play in the scene. If it is the latter case, please show us your script to animate the skeleton.

Thanks for your reply, I checked the spine on SkeletonDataAsset in the Preview at the bottom of the Inspector window. The animation list only showed 20+ animation, however, there should be 40+ animation in the spine project.
(Actually not only the animation list was not updated successfully, I also saw the slot wasn't the updated version. 😢 )

We have not yet encountered such a problem of the SkeletonDataAsset not showing any updates after overwriting the asset files. Are you sure that you have copied the right files into your Unity project? Please check if the skeleton .json or .skel.bytes file in your Unity project is really the one you have re-exported, e.g. by file modification date.