marzent / IINACT

A Dalamud plugin to run the FFXIV_ACT_Plugin in an ACT-like enviroment with a heavily modified port of Overlay Plugin
https://www.iinact.com
GNU General Public License v3.0
163 stars 37 forks source link

Failed to initialize SAPI TTS engine #65

Closed kutsan closed 6 months ago

kutsan commented 10 months ago

I'm getting the following error on my Mac (with XIV on MAC) and it is causing FFXIV to crash. I'm not sure what the problem is but I can provide debugging information if it's needed.

2023-08-29 22:37:45.146 +01:00 [WRN] [IINACT] Failed to initialize SAPI TTS engine
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Speech.Internal.ObjectTokens.ObjectTokenCategory.Create(String sCategoryId)
   at System.Speech.Internal.ObjectTokens.SAPICategories.DefaultDeviceOut()
   at System.Speech.Internal.Synthesis.VoiceSynthesis..ctor(WeakReference speechSynthesizer)
   at System.Speech.Synthesis.SpeechSynthesizer.get_VoiceSynthesizer()
   at System.Speech.Synthesis.SpeechSynthesizer.SetOutputToNull()
   at System.Speech.Synthesis.SpeechSynthesizer.SetOutputToDefaultAudioDevice()
   at IINACT.TextToSpeechProvider..ctor() in /home/runner/work/IINACT/IINACT/IINACT/TextToSpeechProvider.cs:line 20

https://github.com/marzent/IINACT/blob/539e0d3983fc9531f9dd27879f952711f41b66b4/IINACT/TextToSpeechProvider.cs#L20

marzent commented 6 months ago

This is not an error, but just a warning (and completely expected when trying to use System.Speech under Wine).

Your game is crashing for a different reason.