• RuntimesUnity
  • Unity Spine timeline extension scrubbing workflow

Hello,

I've been thoroughly enjoying using Spine in Unity and am delving into the timeline extension for cinematic sequences. Which leads into my question:

In edit mode, scrubbing the timeline between two blended animations on the same track will show a preview in the scene, but will omit any clip blending / animation mixing. Is this expected behaviour?

For more context, the GIF above shows the correct runtime behaviour, then the editor preview with the issue, and then the approach at finding an alternative by trying to scrub in play mode.

Thanks for your time

  • Toby
Related Discussions
...

Yes, the behavior you're experiencing during scrubbing in edit mode is expected due to the current limitations of the Spine Unity Timeline extension. The documentation and forum discussions highlight that edit mode preview mixing may look different from play mode mixing. This is because the Spine Timeline implementation sets animations in a way that does not fully support blending or mixing during scrubbing in edit mode. For accurate preview of blended animations, it is recommended to check the animations in actual play mode. This limitation is noted in the Spine-Unity documentation and has been discussed in the forums, indicating that while scrubbing provides a basic preview, it does not fully simulate the runtime behavior of animation blending.

@TobyChugg It's hard to tell from the very small and quickly moving GIF whether there is only one track playing or whether there are two separate tracks ("lines") being mixed incorrectly or if it's just one track where two consecutive animations should be mixed.

If you're using multiple tracks, be sure to follow the note in the documentation:

"Important Note: Currently it is required to order the timeline tracks with base track at the top and overlay tracks below, otherwise the Editor Preview will display incorrect results."

While Spinebot is basically correct that the preview outside of play mode is different, if you order the tracks in the wrong order, the preview will be very far off.

It's always recommended to check out the documentation page first if you have any questions:
https://esotericsoftware.com/spine-unity#Timeline-Extension-UPM-Package

Thank you. Apologies for the GIF for ants... It was only one track with two animations.

Adjusting the clip in time to zero allowed the mixing to preview correctly, but I can't seem to get it working when I try to mix from the first animation into the second half of another animation.

  • Harald がこの投稿に返信しました。

    TobyChugg Thanks for the additional info. If it's just a single track, then it's indeed due to the inherent limitations outside of play-mode, sorry! I was just hoping to rule out one cause of error.
    I'm afraid the only solution then is to preview and edit it after entering play-mode.