game crashes when sleeping to progress save

treavor17

Greenhorn
Hello everyone, I have a problem when I'm going to sleep to save the day and this keeps happening. Is there someone who had similar issues with me? How did you fix it?
rsv.png
 
Hi, I just saw your PM; thanks for sending me your full log: https://smapi.io/log/9b2c77f8173147e3b13848ec89dbdd6c

As shown in your screenshot; there's a "pickPersonalFarmEvent" error going on. And, I found the following in the log:
Code:
11:59:53    WARN    Error Handler    Removed invalid villager 'Sophia' in FarmHouse ({X:0 Y:0}) to avoid a crash when loading save 'TREVS_334637581'. (Did you remove a custom NPC mod?)

12:05:34    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Utility.pickPersonalFarmEvent_PatchedBy<Rafseazz.RidgesideVillage>()
   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)
It looks like you're married to Sophia from SDV Expanded, but you removed the mod before divorcing her. So, the game sees you have a spouse, and is likely asking for kids. But, since her data is gone; it's crashing.

Similar examples:


------------------------------------------
Fixing the issue:
We need to delete Sophia from the "spouse" section. You can give it a try, or I can do it for you if you post the save here. But, here's the wiki links, and info on how to do so.

Find your save:
Edit a save:

Delete Sophia:
Code:
<spouse>Sophia</spouse>
Fixed:
Code:
<spouse></spouse>
 

treavor17

Greenhorn
Sir!!!!!! Thank you so much for your help! It works now! I was about to give up and just uninstall stardew earlier but you gave me hope! Thank you very much for your efforts!
 
Top