Hi all,
I've looked through the forums for the solution and so far have not found it.
Problem:
When we export from spine and import to Unity the SkeletonAnimator does not get the new animations and old animations are not updated. Which currently means that everytime we make a change we have to remake the SkeletonAnimator and then remake our Mecanim tree.
SkeletonData
Loading Image
Please note there are three Air Attacks and a Air Heavy attack before Air Slam. We then look at the SkeletonAnimator that is connected at the bottom of the Skeleton Data.
SkeletonAnimator
Loading Image
There is no Air attacks before Air Slam. This also holds true for any events that are put in an animation after the SkeletonAnimator was created.
Process
We export from Spine a new Json, Atlas and PNG for the Hero, adding .txt to the end of the Atlas. We then drop it into our project via the file explorer and replace all 3. We then open up Unity and can see the new animations in our SkeletonData but not our SkeletonAnimator.
What We've Attempted
Ensured that JSON, Atlas and SkeletonAnimator are all pointing the the right thing (This was done by double clicking on said items in the skeletondata in the inspector.)
Ensured that JSON does not have a .txt extension as that is said to have caused issues.
Read through these two forum posts and tried assorted things in each one
Add new animations to Mecanim Controller
url=http://esotericsoftware.com/forum/Adding-new-animations-to-Mecanim-Controller-4199?&hilit=mecanim+skeletondata&start=25
Mecanim animator not updating clips
http://esotericsoftware.com/forum/Mecanim-animator-not-updating-clips-5623?p=25758&hilit=mecanim+skeletondata#p25758
What we are using
We are using the following:
Spine2D: Version 3.1.02
Spine Unity Package: Downloaded March 9th, 2016
Unity: Version 5.3.1f1
Please help, I really really don't want to have to create our mecanim web thing words fail now