Skip to content

Plugin Crashes on Load #143

Description

@mozuzaeram

Freshly setup Windows 11, I'm seeing this error each time and the game closes.

Fatal error. 0xC0000005
   at Interop+Advapi32.RegOpenKeyEx(IntPtr, System.String, Int32, Int32, Microsoft.Win32.SafeHandles.SafeRegistryHandle ByRef)
   at Microsoft.Win32.RegistryKey.GetSystemKeyHandle()
   at System.Speech.Internal.ObjectTokens.RegistryDataKey.Open(System.String, Boolean)
   at System.Speech.Internal.ObjectTokens.SAPICategories.DefaultDeviceOut()
   at System.Speech.Internal.Synthesis.VoiceSynthesis..ctor(System.WeakReference)
   at System.Speech.Synthesis.SpeechSynthesizer.get_VoiceSynthesizer()
   at System.Speech.Synthesis.SpeechSynthesizer.SetOutputToNull()
   at IINACT.TextToSpeechProvider..ctor()
   at IINACT.Plugin..ctor(Dalamud.Plugin.IDalamudPluginInterface, Dalamud.Plugin.Services.ICommandManager, Dalamud.Plugin.Services.IClientState, Dalamud.Plugin.Services.IDataManager, Dalamud.Plugin.Services.IChatGui, Dalamud.Plugin.Services.IFramework, Dalamud.Plugin.Services.ICondition, Dalamud.Plugin.Services.IPluginLog, Dalamud.Plugin.Services.IGameInteropProvider, Dalamud.Game.ISigScanner, Dalamud.Plugin.Services.INotificationManager)
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, Void**, System.Signature, Boolean)
   at System.Reflection.MethodBaseInvoker.InvokeConstructorWithoutAlloc(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
   at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
   at Dalamud.IoC.Internal.ServiceContainer+<>c__DisplayClass10_0.<CreateAsync>b__0()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

On my linux installation of FF14 and IINACT/Browsingway this does not occur. This is because in Wine, we don't even activate it. See TextToSpeechProvider.cs:15,

How can I satisfy this dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions