• Unity
  • Bug with import animation events

It seems to happen when I change the frame of event and reimport a new json animation file,
the event shown in unity animation window

seems have more events than what shown in spine editor, some seems to be old one,
and I need to delete all the event in unity animation window and click Force Update Animation to get it fix.
If some other easier way to update event?

Related Discussions
...

We're sorry for the inconvenience! Are you perhaps using an older version of the spine-unity runtime, or created the clips in an old version and re-imported them in a new version?

Newer versions of the runtime automatically preserve user-added events and don't clear all existing events upon reimport (clip re-generation). They add the event string SpineEvent at every event that comes imported from the Spine skeleton, which will be removed upon clip re-generation. If you have created the clip in an older runtime it will be lacking the event string parameter SpineEvent and will thus count as a user event. You should only need to clear these events once though.

15 jours plus tard

Got it! Thank you for reply

You're welcome.