-
Notifications
You must be signed in to change notification settings - Fork 34
Description
TextToTalk can crash Dalamud on Windows 11 during text-to-speech playback. The crash is caused by an unhandled System.OperationCanceledException originating from the Windows System.Speech backend.
Environment
OS: Windows 11
Game: Final Fantasy XIV (Windows)
Dalamud version: 14.0.0.3
TextToTalk version: 1.35.2.0
TTS backend: System / Windows Speech
Description
During TTS playback, Dalamud may crash with a fatal error. The crash occurs in an asynchronous speech thread when a speech operation is cancelled while still running.
The following exception appears in the crash log:
System.OperationCanceledException: Async operation canceled.
at System.Speech.Internal.Synthesis.VoiceSynthesis.SpeakText(...)
at TextToTalk.Backends.System.SystemSoundQueue.ASyncSpeak(...)
dalamud_appcrash_20260102_165216_655_17852.log
Dalamud identifies TextToTalk as the plugin that caused the crash.
Steps to reproduce
Enable TextToTalk
Enable TTS for dialogue or NPC text
Advance or skip dialogue quickly
Dalamud crashes after some time
Expected behavior
Cancelling or replacing TTS playback should not crash Dalamud.
Actual behavior
Dalamud crashes due to an unhandled exception in the Windows TTS thread.
Additional notes
Rapid dialogue skipping (for example via TextAdvance or similar behavior) seems to make the issue occur more frequently, but this may simply expose an existing race condition.
Let me know if you need more logs or testing, I’m happy to help. :)