Issue Save Error - Game Crashes When Trying to Sleep

slothanda

Greenhorn
Hi there,
Looking to see if anyone can help me with this issue I'm having.
I play Stardew on Windows on Steam and I've been having trouble when I try to go to sleep to go to another day. The game crashes (I put the smapi log below). It's fine loading into the game and picking which save file to use. I can play as normal until I try to go to bed then it just fades to black and smapi starts sending out a bunch of red text before the game crashes. I have other saves that I can save and play another day but just not this one file. I'm really hoping someone has an idea or can help - this is the save I've spent around 300 hours on and don't really want to lose it forever.

 
Thanks for the log. Can you attach your save folder: Luna_229537988

In the error; I'm seeing an issue with the fishpond.
In similar bugs I've seen; the issue is with JsonAssets bugging out. The JA item IDs get swapped around, and a non-fish is now in the fish pond. So, the game crashes.
But, I'll be able to verify/fix it with the save folder.

Relevant error snippet:
Code:
18:31:26    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Buildings.FishPond.dayUpdate(Int32 dayOfMonth) in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 741
   at StardewValley.Locations.BuildableGameLocation.DayUpdate(Int32 dayOfMonth) in stardewvalley\Farmer\Farmer\Locations\BuildableGameLocation.cs:line 32
   at StardewValley.Farm.DayUpdate_PatchedBy<PeacefulEnd.AlternativeTextures>(Farm this, Int32 dayOfMonth)
   at StardewValley.Game1._newDayAfterFade()+MoveNext()
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
Finding your save:
 
Yes, here it is! Thank you so much for looking at this!
Thanks, and no prob!

Okay, so when checking out your save, and testing on my end.
I surprisingly, did not see any JA items saved in the folder. So, JA; not an issue this time.
But, a very similar root cause.

It appears that you had 2 fish ponds that had: Seaweed, and White Algae in them.
Normally, that shouldn't happen; hence the crash.
I do see that RSV edits FIshPond data, but it doesn't seem to modify the data to allow Seaweed/W. Algae in the fish ponds.
So, it was likely another mod.

Did you used to have any other fishpond related mods?


For now, I cleaned out the FishPonds, by resetting their data to an empty state. And, my test-copy of your save; now proceeds to the next day.
Here's a fixed version you can use to replace your current version.

Give it a try, this should work. Unless there's something I missed in your SMAPI log.
But yea, let me know if you have further issues.
 

Attachments

slothanda

Greenhorn
Thank you, it worked for me!!

Now that you mention it, I transferred this save over from my old laptop and I think I did have a fish pond mod awhile ago!
 
Top