OperationT

Hi All,

My workflow from Spine to Unity has been working happily up until now. The list of animation clips has stopped updating itself, which is located under the auto-generated Animation Controller inside "Unity Project > Assets > Spine Data". An error popped up on my Unity console when the clip list update failed for the first time, but when I tried to export again, the error hasn't come up again (although the animation clips list still fails to update itself) - I'm not sure if this has any significance.

Error: "ArgumentException: An element with the same key already exists in the dictionary". Attached below are the details. I am unable to figure out what this means after looking at the Spine source code.

The first time I ran into this problem yesterday, I was simply re-exporting my Spine project after renaming a few animations. Something simple that has worked many times before. As a last resort, I was able to temporarily solve the problem by deleting the whole Controller and re-exporting the Spine project. Then, all the clips showed up correctly, but I had to spend a long time re-creating all my state machines. Today, the same error came up when I re-exported my Spine project after creating a few new animations.

I don't want to delete my Controller and recreate state machines occasionally. That would be a huge impediment in my workflow. Please advise!

-- 02 Sep 2015, 16:59 --

Ok, so I thought that maybe the animation names might be conflicting with each other or even with themselves (the copy that has already been exported to Unity conflicting with the same updated animation that I'm trying to export again), so I renamed all of my animations to names I have never used before, i.e. numbers "1", "2", "3", and so on. I still get the same exception when I re-export. I don't know.. Is anyone else experiencing the same error?

-- 09 Sep 2015, 22:03 --

Ok. I've decided to switch to using SkeletonAnimation instead of Mecanim. I don't have to face this problem anymore.
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
OperationT
  • Mesajlar: 12


Dön Unity