PC [HELP] Crash on launch

Wolfgangkoon

Newcomer
I have a crash on launch issuse with the PC windows client Ive amassed over 1,400 hours on the game playing both with and without smapi. Since the week it was first sold on steam ive even played threw the most recent update and was planning on playing another round threw. Stardew Valley is a game i often default to when stressed IRL. However sometime between 2 months after the most recent update and now something has changed the game crashes at launch 100% of the time both with and without smapi installed ive searched everything i can find to try to make it work for the most basic run as admit, reinstall, and verify. All the way to step by step instructions on forums i honestly didnt understand this is my error log. If anyone could help please.
[game] The game failed to launch: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Present(tagRECT* pSource, tagRECT* pDest, HWND__* hOverride)
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.EndDraw()
at Microsoft.Xna.Framework.Game.EndDraw()
at StardewValley.GameRunner.EndDraw() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 748
at Microsoft.Xna.Framework.Game.DrawFrame()
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 Microsoft.Xna.Framework.Game.Run()
at StardewModdingAPI.Framework.SCore.RunInteractively() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 288
 

Kreeate

Rancher
I already stated in the post i tried to verify the game files there was nothing wrong
Well, punctuation goes a long way towards helping other people understand your writing better. I'm only trying to help.
If you have completely uninstalled, and then reinstalled a fresh copy of the game, then chances are high that the issue is not with the game but with something else on your PC.

Go to C:\Users\yourusername\AppData\Roaming\StardewValley and delete the file named startup_preferences

My suggestion is to also make sure you have all the latest drivers, especially Graphics and Sound, and software (Framework.NET) installed.

Good luck.
 
Top