- Изменено
SpineAnimation attribute 4.1 Update
Hello!
We just upgraded our Unity runtime to 4.1 and it seems like one of the changes is that SkeletonAnimation is no longer an accepted data field for the [SpineAnimation] attribute, it now wants a SkeletonDataAsset. We have hundreds of components with has SpineAnimation serialized out these references which are now just falling back to text fields - is there a way to continue using SkeletonAnimation, or do I need to swap all of those out to SkeletonDataAsset fields and folks are just going to have to reassign when they go to use them?
Would very much appreciate help - unfortunately we can't go back down to the old version without someone losing a lot of work
FALSE ALARM
My SkeletonAnimation's SkeletonDataAsset had apparently come unassigned somewhere! Will delete this post momentarily
Thanks very much for getting back to us, glad you've figured it out!
Whalep. Maybe I can't delete this post. I thought I saw a delete button but now I can't find it. Guess it will just have to live here to show off my shame
No worries, we can delete the thread for you if you like.
One thing I wanted to add is if your SkeletonDataAsset has become unassigned, it sounds like the SkeletonDataAsset's .meta
file was removed and re-generated differently, in case you didn't already get to this conclusion yourself. Just wanted to point that out to save you some potential unnecessary work.