Force quitting Steam will make Launchbox quit itself too.

Issue #3555 new
Former user created an issue

I get this error when I force quit steam. I need to do this because I use SteamLink to remote my PC into my bedroom for movies and games. I've found the most elegant way to quit the stream when I am finished is to execute a .bat script I wrote that essentially just kills steam, waits a moment, then runs steam again (so it is ready to be remoted into at any time). The problem is if Launchbox is open, it doesn't seem like that steam was killed, and it decides to quit itself too, with this error.

  • Launchbox 7.14 (latest)
  • Windows 10
  • Every time I force quit Steam.
  • Kill Steam using command line, wait about 10-20 minutes (ish), and Launchbox will error and quit itself. * Error at Launchbox quit:

Value cannot be null. Parameter name: value

App: LaunchBox Version: 7.14 Type: System.ArgumentNullException Site: System.Object DeserializeObject(System.String, System.Type, Newtonsoft.Json.JsonSerializerSettings) Source: Newtonsoft.Json

at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObjectT at CarbyneSteamContextWrapper.Steam4NETProxy.SendFunctionCall(InteropFunctionCall call, Boolean Return) in D:\Data\Programming\CarbyneProject\CarbyneSteamContext\CarbyneSteamContextWrapper\Steam4NetProxy.cs:line 82 at CarbyneSteamContextWrapper.Steam4NETProxy.IsInstalled(UInt64 GameID) in D:\Data\Programming\CarbyneProject\CarbyneSteamContext\CarbyneSteamContextWrapper\Steam4NetProxy.cs:line 100 at CarbyneSteamContextWrapper.SteamContext.IsInstalled(UInt64 GameID) in D:\Data\Programming\CarbyneProject\CarbyneSteamContext\CarbyneSteamContextWrapper\SteamContext.cs:line 108 at SteamTools.SteamToolsContext.CheckSteamGames() in D:\Data\Programming\CarbyneProject\LaunchBoxSteamToolsPlugin\SteamTools.Core\SteamToolsContext.cs:line 137 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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Recent Log:

5:01:00 PM Music.Pause Start 5:01:00 PM Music.Prepare Start 5:01:00 PM Music.Kill Start 5:01:00 PM Music.Kill Finished 5:01:00 PM Music.NotifyTrackList Start 5:01:00 PM Music.NotifyTrackList Invoke 5:01:08 PM GameDetailsGui.RedrawDetails Start 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailRating 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailFileName 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailCustomFields 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailLastPlayed 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailNotes 5:01:08 PM GameDetailsGui.RedrawDetails Before ShowDetailDates 5:01:08 PM GameDetailsGui.RedrawDetails End 5:01:10 PM GameDetailsGui.RedrawDetails Start 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailRating 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailFileName 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailCustomFields 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailLastPlayed 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailNotes 5:01:10 PM GameDetailsGui.RedrawDetails Before ShowDetailDates 5:01:10 PM GameDetailsGui.RedrawDetails End 5:01:11 PM Music.Pause Start 5:01:14 PM Music.Prepare Start 5:01:14 PM Music.Kill Start 5:01:14 PM Music.Kill Finished 5:01:14 PM Music.NotifyTrackList Start 5:01:19 PM Music.NotifyTrackList Invoke 5:01:19 PM GameDetailsGui.RedrawDetails Start 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailRating 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailFileName 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailCustomFields 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailLastPlayed 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailNotes 5:01:19 PM GameDetailsGui.RedrawDetails Before ShowDetailDates 5:01:19 PM GameDetailsGui.RedrawDetails End 5:01:20 PM Music.Prepare Start 5:01:20 PM Music.Kill Start 5:01:20 PM Music.Kill Finished 5:01:20 PM Music.NotifyTrackList Start 5:01:20 PM Music.NotifyTrackList Invoke 6:03:38 PM Exception

Comments (2)

  1. benfucius

    Hi it's me sorry I forgot to login before I posted this. If you have any questions for me or want me to do some testing please let me know. Thanks!

  2. benfucius

    Hi, just wanted to touch base on this issue. It's still happening the same, very frustrating for my daily workflow. I understand if you're busy, but if you're able to look at this I'd greatly appreciate it!

  3. Log in to comment