Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Stardew Valley

Game Crashes after Witch Event – Stardew Valley

After going to sleep this is what is happening. Adding a check if(object.ContainsKeys(x)) would prevent this from throwing an exception.

Message: An item with the same key has already been added.

InnerException:

  • Stack Trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
  • at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
  • at StardewValley.SerializableDictionary`2.Add(TKey key, TValue value)
  • at StardewValley.Events.WitchEvent.makeChangesToLocation()
  • at StardewValley.Game1.Update(GameTime gameTime)
  • at Microsoft.Xna.Framework.Game.Tick()
  • at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  • at Microsoft.Xna.Framework.GameHost.OnIdle()
  • at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  • at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  • at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  • at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  • at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  • at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  • at System.Windows.Forms.Application.Run(Form mainForm)
  • at Microsoft.Xna.Framework.WindowsGameHost.Run()
  • at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  • at StardewValley.Program.Main(String[] args)

Got the fix. I had to open the save file, find the coop that she was flying over, in this case it was my Big Coop, and remove it from the save XML file, MAKE A BACKUP FIRST!!!! After loading the game, after the removal, she flies over my slim hutch and the game saves just fine. Go modify the save file once again and add back your big coop (from your backup file location under <Buildings>). Reload the game once again and you should be good to go. Because the witch event completed successful there is no more crash issue.

Original Link – Continuation of discussion

GTAmes

Recent Posts

Most Powerful Legends in Apex Legends

Apex Legends is a character-based battle royale. Apex Legends became popular because it was a…

3 years ago

My “Easy” Flukemarm Setup – Hollow Knight

I'm not especially good at games due to mediocre reflexes and I was having a…

5 years ago

Progression Guide – Hollow Knight

A short progression guide with movement ability locations. Minor spoilers. It can be hard to…

5 years ago

Order of Locations for Traveling NPCs – Hollow Knight

Has anyone figured out the order of locations that NPCs show up at if you…

5 years ago

The Grub Ending (Opinion) – Hollow Knight

I honestly feel that that the ending for collecting all the grubs is an awful…

5 years ago

How Beat the Watcher Knights? – Hollow Knight

Two at a time, and can go so unsynced that they just deal unavoidable damage…

5 years ago