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?
Bạn không được cấp phép để xem tập tin đính kèm trong bài viết này.
DRTYYY
  • Bài viết: 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.
Hình đại diện của thành viên
Harald

Harri
  • Bài viết: 4350

DRTYYY

Got it! Thank you for reply
DRTYYY
  • Bài viết: 4

Harald

You're welcome.
Hình đại diện của thành viên
Harald

Harri
  • Bài viết: 4350


Quay về Unity