PC [HELP] Game crashes when going to sleep - Single player

RevanImperator

Newcomer
Edit: I replayed the day today and managed to go through it without crashing. Whether it was random luck or reinstalling Xna Framework, I'm not sure. Any suggestions as to what that error log's pointing at would still be welcome though, as I'd like to avoid future crashes if possible.

Hello. My game crashed after going to sleep the day I had finished the volcano dungeon.
Below is the error log:
Message: Cannot call Present when a render target is active.
InnerException:
Stack Trace: 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\1\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 660
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 StardewValley.Program.Main(String[] args) in C:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 156

Game Version: 1.5.1
SDK Helper: GalaxyHelper
Game Language: en
GPU: NVIDIA GeForce GTX 760
OS: Win32NT Microsoft Windows NT 6.1.7601 Service Pack 1
In-game Date: summer 18 Y2 Time of Day: 600
Game Location: FarmHouse

I've got no mods installed that could mess things up. I also have neither RivaTuner nor FrescoLogic Display Adapter (as I've seen those mentioned as causing interference).

I have repaired my XNA Framework install but I am weary to retry playing the day again until I know if there's anything more I could do to fix this.

Thank you!
 
Last edited:
Top