1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

Bug/Issue Random game crash on localized dialogues

Discussion in 'Support' started by maseal, Aug 21, 2018.

  1. maseal

    maseal Space Hobo

    I have a random game crash when starting dialogs with NPC. When it happened again, I start a debugger on game crash and got this exception (it looks like some problem with NPC's localization - in my case it is Russian):

    Code:
    Microsoft.Xna.Framework.Content.ContentLoadException: 'Unable to parse string path: Джоди, отлично выглядишь! Гантели творят чудеса, правда?'
    
         Stardew Valley.exe!StardewValley.LocalizedContentManager.parseStringPath(string path, out string assetName, out string key) Line 289    C#
         Stardew Valley.exe!StardewValley.LocalizedContentManager.LoadString(string path) Line 207    C#
         Stardew Valley.exe!StardewValley.NPC.setTemporaryMessages(StardewValley.Farmer who) Line 2550    C#
         Stardew Valley.exe!StardewValley.NPC.checkAction(StardewValley.Farmer who, StardewValley.GameLocation l) Line 1324    C#
         Stardew Valley.exe!StardewValley.GameLocation.checkAction.AnonymousMethod__0() Line 3978    C#
         Stardew Valley.exe!StardewValley.ModHooks.OnGameLocation_CheckAction(StardewValley.GameLocation location, xTile.Dimensions.Location tileLocation, xTile.Dimensions.Rectangle viewport, StardewValley.Farmer who, System.Func<bool> action) Line 13    C#
         Stardew Valley.exe!StardewValley.GameLocation.checkAction(xTile.Dimensions.Location tileLocation, xTile.Dimensions.Rectangle viewport, StardewValley.Farmer who) Line 3954    C#
         Stardew Valley.exe!StardewValley.Game1.tryToCheckAt(Microsoft.Xna.Framework.Vector2 grabTile, StardewValley.Farmer who) Line 7787    C#
         Stardew Valley.exe!StardewValley.Game1.pressActionButton(Microsoft.Xna.Framework.Input.KeyboardState currentKBState, Microsoft.Xna.Framework.Input.MouseState currentMouseState, Microsoft.Xna.Framework.Input.GamePadState currentPadState) Line 7676    C#
         Stardew Valley.exe!StardewValley.Game1.UpdateControlInput.AnonymousMethod__0() Line 9893    C#
         Stardew Valley.exe!StardewValley.ModHooks.OnGame1_UpdateControlInput(ref Microsoft.Xna.Framework.Input.KeyboardState keyboardState, ref Microsoft.Xna.Framework.Input.MouseState mouseState, ref Microsoft.Xna.Framework.Input.GamePadState gamePadState, System.Action action) Line 11    C#
         Stardew Valley.exe!StardewValley.Game1.UpdateControlInput(Microsoft.Xna.Framework.GameTime time) Line 10555    C#
         Stardew Valley.exe!StardewValley.Game1.Update(Microsoft.Xna.Framework.GameTime gameTime) Line 2315    C#
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.Game.Tick()    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.Game.HostIdle(object sender, System.EventArgs e)    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.GameHost.OnIdle()    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(object sender, System.EventArgs e)    Unknown
         System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(int grfidlef)    Unknown
         System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason, int pvLoopData)    Unknown
         System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context)    Unknown
         System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context)    Unknown
         System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.WindowsGameHost.Run()    Unknown
         Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.Game.RunGame(bool useBlockingRun)    Unknown
         Stardew Valley.exe!StardewValley.Program.Main(string[] args) Line 144    C#
    PS: if it can help - russian string from exception message
    "Джоди, отлично выглядишь! Гантели творят чудеса, правда?"
    in English is "You're looking really fit, Jodi! Those dumbells do wonders, don't they?"
     
    • Desmond0815

      Desmond0815 Orbital Explorer

      Seems like i got the the same Error. Just with german Language and another dialog.

      It happens with different Dialogs with different NPCs.

      Posting content of Error-Log:
      Code:
      Message: Unable to parse string path: Ich bin für den Duft der Früchte hergekommen.
      InnerException:
      Stack Trace:    bei StardewValley.LocalizedContentManager.parseStringPath(String path, String& assetName, String& key) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\LocalizedContentManager.cs:Zeile 289.
         bei StardewValley.LocalizedContentManager.LoadString(String path) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\LocalizedContentManager.cs:Zeile 206.
         bei StardewValley.NPC.setTemporaryMessages(Farmer who) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\NPC.cs:Zeile 2550.
         bei StardewValley.NPC.checkAction(Farmer who, GameLocation l) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\NPC.cs:Zeile 1324.
         bei StardewValley.GameLocation.<>c__DisplayClass202_0.<checkAction>b__0() in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:Zeile 3978.
         bei StardewValley.ModHooks.OnGameLocation_CheckAction(GameLocation location, Location tileLocation, Rectangle viewport, Farmer who, Func`1 action) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\ModHooks.cs:Zeile 13.
         bei StardewValley.GameLocation.checkAction(Location tileLocation, Rectangle viewport, Farmer who) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:Zeile 3954.
         bei StardewValley.Game1.tryToCheckAt(Vector2 grabTile, Farmer who) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Game1.cs:Zeile 7787.
         bei StardewValley.Game1.pressActionButton(KeyboardState currentKBState, MouseState currentMouseState, GamePadState currentPadState) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Game1.cs:Zeile 7707.
         bei StardewValley.Game1.<>c__DisplayClass646_0.<UpdateControlInput>b__0() in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Game1.cs:Zeile 9893.
         bei StardewValley.ModHooks.OnGame1_UpdateControlInput(KeyboardState& keyboardState, MouseState& mouseState, GamePadState& gamePadState, Action action) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\ModHooks.cs:Zeile 11.
         bei StardewValley.Game1.UpdateControlInput(GameTime time) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Game1.cs:Zeile 9481.
         bei StardewValley.Game1.Update(GameTime gameTime) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Game1.cs:Zeile 2310.
         bei Microsoft.Xna.Framework.Game.Tick()
         bei Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
         bei Microsoft.Xna.Framework.GameHost.OnIdle()
         bei Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
         bei Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
         bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
         bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
         bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
         bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
         bei System.Windows.Forms.Application.Run(Form mainForm)
         bei Microsoft.Xna.Framework.WindowsGameHost.Run()
         bei Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
         bei StardewValley.Program.Main(String[] args) in C:\Users\gitlab-runner\gitlab-runner\builds\5c0f9387\1\chucklefish\stardewvalley\Farmer\Farmer\Program.cs:Zeile 144.
       

      Share This Page