• Editor
  • Unity animation event lost!

Related Discussions
...

Hello and greeting everyone! I have set up the animation event for my animation clip, so it can trigger something to work. But when i update my spine animation into unity ( by replacing the skel.bytes and atlas ). The animation string that i set up lost, anyway to solve this problem? Thanks! 🙁

When spine-unity generates the dummy animation clips, it uses the events in the skeleton to place Unity Animation Events in the clips.
When it updates, it replaces the animation clip events and its data with the skeleton events.

The case where it has to determine which events (and which pieces of data in them) came from the user directly and which ones came from the Spine data is a very ambiguous case to handle so that implementation has to be up to individual users.

But if you only want events to be defined through Unity and none through Spine, we can just turn off that feature and leave it out of the dummy animation clip rebuilding process.