• EditorBugs
  • Timeline playback skipping with audio events (M1 Mac, Spine 4.0 & 4.1)

I'm working with some music in Spine, using 4.1 on an M1 Mac. When I try to play the timeline the playhead skips forward a variable amount of frames (it could be 5 frames, could be 60, haven't noticed any correlation as to why) and starts playing the audio from that point, meaning I can't sync up the audio with animation and I'm missing that first bit of the animation.

I've done a bit of testing on different versions and platforms to try to narrow down the issue:

  • Same behaviour whatever the playback mode (continuous, loop, manual loop)
  • It happens in any Spine 4.0 and 4.1 project with mp3s and wavs (haven't tried any other sound formats yet).
  • Spine 3.8 seems to work okay
  • It's only happening to me on Mac, sounds are working fine for me in 4.0/4.1 on Windows and Linux using the same sound files.
  • Tried completely reinstalling the Spine launcher
  • Tried both the Apple silicon and Intel installations of the launcher
  • Timeline will play fine with regular events, it only happens when there's audio in the event

Anybody else experienced this?

Related Discussions
...

Sorry for the trouble! I can't repro this with 4.0 or 4.1 on an Apple Silicon Mac. Could you maybe take a video of the behaviour and post it here? There won't be anything in the logs, so this is the next best we can go by without a repro on our end.


Here's the skipping in action. It skips to frame 60 regardless of where you place the audio event.

You can hear how the audio event is triggered at frame 60 and subsequently overlaps the second audio event which is triggered at frame 86.

    jeksnek Thank you for showing that video, I have confirmed I can reproduce the bug and created an issue ticket for this: EsotericSoftware/spine-editor754
    We are sorry for the inconvenience, but please wait a little longer until we fix the problem.

    Thanks so much for looking in to this!

    7 jours plus tard

    I'm experiencing the same issue where, upon hitting the play button, the animation jumps 60 frames regardless of the position on the timeline. This happens whenever an audio event key is added to the animation.

    • Mac intel
    • Spine 4.1.23

    @Misaki, when do you estimate it will be resolved?
    Thanks in advance!

      XaviTF Unfortunately, we cannot answer exactly when. I have confirmed this issue again, and I found even if the audio event key is keyd an animation, the animation can be played correctly if the audio event key is hidden by clicking the white circle icon on the Tree view, so in the mean time, you could hide the audio event key once when you want to check the skeleton's movement:

      Thank you very much!

      22 jours plus tard

      Hello, @Misaki is this bug being worked on and if so when can we expect it to be fixed? I'm running into this issue as well and it's a pretty big one considering you can't time things out with audio properly. Thanks!

        alex19 Unfortunately, we have not yet begun to investigate this issue. I have asked Nate to check on this issue today and he will check it as soon as possible!

          Misaki Great thanks! This will be a huge help when fixed.

          un mois plus tard

          Came here because I ran into the same issue.
          Hiding the events indeed works.
          I tried converting my .ogg's to .wav and that did not help.
          Here's hoping you can fix it!
          Thanks 🙂

          @Misaki is there any update to this as to when this issue will be fixed?

            alex19 Unfortunately, there is no fix in sight yet. The Spine editor is basically developed on Windows PCs, so Mac PC specific issues tend to take longer to investigate. If there is any progress on the issue, the issue ticket on GitHub will always be updated, so please refer to that.

            4 mois plus tard

            Hi @Misaki any further updates on a timeline for a fix for this issue? We are Enterprise customers using Macs and this is making keyed audio pretty much impossible to do. We have already built a fair amount of animation in version 4.1 making use of the new animation curves systems so do not want to have to roll back to 3.8?

              peteshea We apologize for the long wait for this issue! We have fixed this issue in 4.2.21-beta. However, at this time, not all of the official runtimes we offer support 4.2 features, so you may not be able to start using 4.2-beta in your project yet. If you are in a hurry and still want to roll back to 3.8, we are happy to help with any questions you may have.

              Thanks for the update.

              • Nate a répondu à ça.

                peteshea Please note that on Monday we'll release a new Spine launcher that applies this fix for all 4.0 and 4.1 editor versions. We'll post another update here when that is done, then you can reinstall Spine to get the latest Spine launcher with this fix.

                peteshea A new Spine launcher is now up, version 4.2.04. It fixes the audio problems for all 4.0 and 4.1 version. You can get it by downloading the installer from your Spine license page and reinstalling.

                @Nate Many thanks. Installed the new version and keyed audio now working fully on Mac M2.