DRTYYY

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
1.png

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?
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
DRTYYY
  • Messaggi: 4

Harald

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.
Avatar utente
Harald

Harri
  • Messaggi: 4343

DRTYYY

Got it! Thank you for reply
DRTYYY
  • Messaggi: 4

Harald

You're welcome.
Avatar utente
Harald

Harri
  • Messaggi: 4343


Torna a Unity