Launchbox Crashes Upon Opening Settings.

Issue #5209 resolved
Selena Martinez created an issue

Going to tools then settings crashes Launchbox.
Windows 10 Version 1909
HRESULT: [0x80004005], Module: [General], ApiCode: [E_FAIL/Unspecified error], Message: Unspecified error

App: LaunchBox
Version: 10.11
Type: SharpDX.SharpDXException
Site: Void CheckError()
Source: SharpDX

at SharpDX.Result.CheckError()
at SharpDX.DirectInput.DirectInput..ctor()
at ()
at Unbroken.LaunchBox.Windows.GameControllers.GameControllerHandler.get_Input()
at ()
at Unbroken.LaunchBox.Windows.GameControllers.GameControllerHandler.GetCurrentDevices()
at (OptionsGameControllersPageViewModel )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.OptionsGameControllersPageViewModel.RefreshDevices()
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.OptionsGameControllersPageViewModel..ctor()
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.OptionsViewModel..ctor()
at (<>c__DisplayClass0_0 )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.OptionsMenuAction.<>c__DisplayClass0_0.<OnSelect>b__1()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)
at (Action , DispatcherPriority )
at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
at (<>c )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.OptionsMenuAction.<>c.<OnSelect>b__0_0()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.<Queue>b__0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Recent Log:

5:23:08 PM Music.Prepare Start
5:23:08 PM Music.Kill Start
5:23:08 PM Music.Kill Finished
5:23:08 PM Music.NotifyTrackList Start
5:23:08 PM Music.NotifyTrackList Invoke WPF
5:24:41 PM Music.Play Start
5:24:41 PM Music.Kill Start
5:24:41 PM Music.Kill Finished
5:24:41 PM Music.Play Empty Music Path
5:24:41 PM Music.NotifyTrackList Start
5:24:41 PM Music.NotifyTrackList Invoke WPF
5:24:42 PM Music.Pause Start
5:24:42 PM Music.Pause Start
5:24:42 PM Begin M3U Check.
5:24:42 PM RomPath after M3U build: D:\Documents\ROMS\PS2\Shin Megami Tensei - Persona 4 (USA).iso
5:24:49 PM Music.Stop Start
5:24:49 PM Music.Kill Start
5:24:49 PM Music.Kill Finished
5:24:49 PM Music.Play Start
5:24:49 PM Music.Kill Start
5:24:49 PM Music.Kill Finished
5:24:49 PM Music.Play Empty Music Path
5:24:49 PM Music.NotifyTrackList Start
5:24:49 PM Music.NotifyTrackList Invoke WPF
5:24:59 PM Music.Play Start
5:24:59 PM Music.Kill Start
5:24:59 PM Music.Kill Finished
5:24:59 PM Music.Play Empty Music Path
5:24:59 PM Music.NotifyTrackList Start
5:24:59 PM Music.NotifyTrackList Invoke WPF
5:25:34 PM Music.Pause Start
5:25:34 PM Music.Pause Start
5:25:34 PM Begin M3U Check.
5:25:34 PM RomPath after M3U build: D:\Documents\ROMS\PS2\Shin Megami Tensei - Persona 4 (USA).iso
5:26:43 PM Music.Pause Start
5:26:43 PM Music.Pause Start
5:26:43 PM Begin M3U Check.
5:26:43 PM RomPath after M3U build: D:\Documents\ROMS\PS2\Shin Megami Tensei - Persona 4 (USA).iso
5:28:33 PM Music.Pause Start
5:28:33 PM Music.Pause Start
5:28:33 PM Begin M3U Check.
5:28:33 PM RomPath after M3U build: D:\Documents\ROMS\PS2\Shin Megami Tensei - Persona 4 (USA).iso
5:29:28 PM Music.Play Start
5:29:28 PM Music.Kill Start
5:29:28 PM Music.Kill Finished
5:29:28 PM Music.Play Empty Music Path
5:29:28 PM Music.NotifyTrackList Start
5:29:28 PM Music.NotifyTrackList Invoke WPF
5:29:31 PM Music.Play Start
5:29:31 PM Music.Kill Start
5:29:31 PM Music.Kill Finished
5:29:31 PM Music.Play Empty Music Path
5:29:31 PM Music.NotifyTrackList Start
5:29:31 PM Music.NotifyTrackList Invoke WPF
5:29:37 PM Exception

Comments (6)

  1. Jason Carr repo owner

    Hi Selena, thanks for reporting this error. As far as I can tell, there seems to be either an issue with DirectInput on your machine, or a malfunction with an attached game controller of some kind. What devices do you have connected? Can you try disconnecting whatever game controllers you have to see if it’s caused by a particular controller?

  2. Selena Martinez reporter

    I had a PS4 controller plugged in that uses DualShock4Windows to make the inputs into an XBox controller. With no controllers plugged in and the program off it still gives me the error message.

  3. Jason Carr repo owner

    Okay, good to know. I wonder if it’s an issue with the DirectInput install. Can you try reinstalling LaunchBox? You can just install it over top of your existing install.

  4. Selena Martinez reporter

    It worked! I think an update might have broken it since it was working before. Thank you so much,

  5. Log in to comment