• EditorBugs
  • Audio and Play stops working

I keep running into this issue where I have my headphones plugged in, animate for some time and then if I unplug my headphones (or my laptop goes to sleep) the audio stops working. The opposite is true as well, if I am unplugged the audio works but then I plug in and it no longer works.

Some times playback no longer works either (clicking the play button or with the hotkey D).

Editor information

4.1.12 (I can't move onto 4.2 at the moment)

No error messages.
Related Discussions
...

Spine uses the audio hardware's time to ensure animations and audio are synchronized, which can lead to issues if there's a discrepancy between the audio hardware time and the system's "wall" time. This could explain why unplugging headphones or changes in the audio output device might cause playback issues.

A few suggestions that might help resolve your issue include:

  • Ensuring you are using the latest audio drivers, as Spine uses OpenAL for audio playback. Updating your drivers might resolve any discrepancies causing the playback issues.
  • Trying to change the audio device in the Audio view within Spine and then changing it back might help reset the connection to the audio hardware.
  • If the issue persists and is related to the synchronization between audio and animations, you might consider temporarily disabling audio to see if that allows animations to play back normally. This isn't a solution but could help isolate the problem.

Sorry you are having trouble! Can you please say what operating system are you using?

Also, is there anything in the spine.log after audio stops working?

Sure thing. I am on Win 11 v. 23H2. The spine log is the same before and after the audio quits working. I did notice something today, regardless of my headphones being plugged in "Default audio device" is the only option I see in the Aduio dropdown. On the gif below: 1st play is with headphones in and play button works. 2nd play is after unplug and the play no longer works. I do want to re-emphasize that the play button works some of the time after I unplug but the audio doesn't.

Spine Launcher 4.1.12
Esoteric Software LLC (C) 2013-2022 | http://esotericsoftware.com
Windows 10 Pro amd64 10.0
Intel, Intel(R) UHD Graphics, 4.6.0 - Build 31.0.101.4314
Starting: Spine 4.1.24 Enterprise
Spine 4.1.24 Enterprise
Licensed to: <removed> Using customized hotkeys: hotkeys-1.txt
Started.
OpenAL 1.1, Default audio device
Update available: 4.2.12

Thanks. We found a few issues. It should work much better in 4.2.14, available now! The audio devices should show up in the list, and the list is refreshed when clicked.

Sweet! Thank you Nate. I'll have to get the rest of the team on 4.2 then. I'm excited for all the new changes. Your team rocks!