Issue game issue upon sleeping

birdbones

Greenhorn
i have a nexus mods forum post that shows my mod list but does anyone know why after doing a lot of work on my farm and i go to sleep the game goes black and never loads the new day?
heres my smapi log https://smapi.io/log/22e7b6126f4c461a9e2147893ca65fd8
 
The log mentions something about item shipping related to special orders. Though, I'm not seeing any content patcher mods editing special orders, or any other direct references in the crash; so it's hard to pinpoint the cause.


Code:
21:18:38    ERROR    game    An error occurred in the base update loop: System.Exception: Error on new day:
---------------
Object reference not set to an instance of an object.
   at StardewValley.ShipObjective.OnItemShipped(Farmer farmer, Item item, Int32 shipped_price) in stardewvalley\Farmer\Farmer\SpecialOrder.cs:line 2077
Are you shipping any modded items, or something?
 

n0rd

Newcomer
The log mentions something about item shipping related to special orders. Though, I'm not seeing any content patcher mods editing special orders, or any other direct references in the crash; so it's hard to pinpoint the cause.


Code:
21:18:38    ERROR    game    An error occurred in the base update loop: System.Exception: Error on new day:
---------------
Object reference not set to an instance of an object.
   at StardewValley.ShipObjective.OnItemShipped(Farmer farmer, Item item, Int32 shipped_price) in stardewvalley\Farmer\Farmer\SpecialOrder.cs:line 2077
Are you shipping any modded items, or something?
Hello MysticTempest,
I ran into the same issue. I have installed couple of new mods, but what makes sense to me is "Walk of Life", which added quality to gems. I shipped some topaz, ruby, etc. that were of gold/silver quality. Maybe I don't have prices for them? But what it is the solution, please?
 

Dimple

Newcomer
Hi, I have the same problem and have done a lot of testing to see what's causing the problem including doing specific things during the and disabling and reenabling mods but I haven't come to the conclusion.
 
Hello MysticTempest,
I ran into the same issue. I have installed couple of new mods, but what makes sense to me is "Walk of Life", which added quality to gems. I shipped some topaz, ruby, etc. that were of gold/silver quality. Maybe I don't have prices for them? But what it is the solution, please?
I'm not familiar with the mod, but looking it up; it does say it's deprecated: https://www.nexusmods.com/stardewvalley/mods/8111?tab=files
You could try switching to that "Modular Gameplay Overhaul" mod that it recommends.

Though we may be able to glean some more info from a log: https://smapi.io/log/

Hi, I have the same problem and have done a lot of testing to see what's causing the problem including doing specific things during the and disabling and reenabling mods but I haven't come to the conclusion.
I managed to find your other post; thanks for posting a log. I am seeing 3 different mods editing SpecialOrders.

Code:
23:33:08    TRACE    Ridgeside Village (SMAPI component)    Registered RSVSpecialOrderBoard
23:33:08    TRACE    Stardew Valley Expanded    Applying Harmony patch "HarmonyPatch_UntimedSpecialOrders": postfixing SDV method "SpecialOrders.IsTimedQuest()".
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Stardew Valley Expanded' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'East Scarp NPCs' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Stardew Valley Expanded' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'East Scarp NPCs' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:50:08    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.ShipObjective.OnItemShipped(Farmer farmer, Item item, Int32 shipped_price) in stardewvalley\Farmer\Farmer\SpecialOrder.cs:line 2077
   at StardewValley.Game1._newDayAfterFade()+MoveNext() in stardewvalley\Farmer\Farmer\Game1.cs:line 9158
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2() in stardewvalley\Farmer\Farmer\Game1.cs:line 8714
   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)
SDV Expanded itself mentions modifying the special orders to be untimed. Though, it could be a vanilla issue as well.
Do you know if the active quests are modded special orders or not?
 
Last edited:

Dimple

Newcomer
I'm not familiar with the mod, but looking it up; it does say it's deprecated: https://www.nexusmods.com/stardewvalley/mods/8111?tab=files
You could try switching to that "Modular Gameplay Overhaul" mod that it recommends.

Though we may be able to glean some more info from a log: https://smapi.io/log/



I managed to find your other post; thanks for posting a log. I am seeing 3 different mods editing SpecialOrders.

Code:
23:33:08    TRACE    Ridgeside Village (SMAPI component)    Registered RSVSpecialOrderBoard
23:33:08    TRACE    Stardew Valley Expanded    Applying Harmony patch "HarmonyPatch_UntimedSpecialOrders": postfixing SDV method "SpecialOrders.IsTimedQuest()".
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Stardew Valley Expanded' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'East Scarp NPCs' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Stardew Valley Expanded' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'East Scarp NPCs' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:50:08    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.ShipObjective.OnItemShipped(Farmer farmer, Item item, Int32 shipped_price) in stardewvalley\Farmer\Farmer\SpecialOrder.cs:line 2077
   at StardewValley.Game1._newDayAfterFade()+MoveNext() in stardewvalley\Farmer\Farmer\Game1.cs:line 9158
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2() in stardewvalley\Farmer\Farmer\Game1.cs:line 8714
   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)
SDV Expanded itself mentions modifying the special orders to be untimed. Though, it could be a vanilla issue as well.
Do you know if the active quests are modded special orders or not?
I believe the current special orders I have are modded. One from SVE and one from Ridgeside.
 

Dimple

Newcomer
Hrm, yea it may be worth backing up your saves: https://stardewvalleywiki.com/Saves#Find_your_save_files

And, then try temporarily removing the SVE, RSV, and East Scarp mods one at a time. SMAPI will throw some errors, on start as it removes the modded content; but you may be able to narrow the cause down further.
I removed East Scarp and I've managed to progress to the next day while doing multiple tasks. I tried with the next day and it was also able to go through without error. It seems to be a problem on East Scarp's part though I'll have to progress through more days to totally be sure. Thank you so much for your help.

EDIT: The bug starts reappearing later on. Even when I have not shipped anything. I cannot disable either SVE or Ridgeside as the log says that Claire.xnb and Bryle.xnb could not be found, respectively. And it causes Stardew to boot to the splashscreen whenever I try to load my character.
 
Last edited:
I removed East Scarp and I've managed to progress to the next day while doing multiple tasks. I tried with the next day and it was also able to go through without error. It seems to be a problem on East Scarp's part though I'll have to progress through more days to totally be sure. Thank you so much for your help.

EDIT: The bug starts reappearing later on. Even when I have not shipped anything. I cannot disable either SVE or Ridgeside as the log says that Claire.xnb and Bryle.xnb could not be found, respectively. And it causes Stardew to boot to the splashscreen whenever I try to load my character.
I'm surprised, SMAPI is usually able to purge the modded data. If you want to post your save, I can do that instead; and might be able to check the current special orders.
 
Here's my save. Hopefully I sent it right.
Yea, that worked; thanks.
I took a look, and you're married to Claire; so I didn't want to mess with the custom NPCs.

However, I checked the available special orders, and you have 4 vanilla ones. Some collection quests for Robin & Demetrius. And, 2 Qi Challenge ones.
As well as one modded one for RSV.

So I've tried deleting the available ones, and making 2 different edits. 1 with just the modded RSV quest, and the other save with just the vanilla ones.
Might be worth trying, but I'm unsure. As special orders reset on the new week; so it may crash again.
 

Attachments

Dimple

Newcomer
Yea, that worked; thanks.
I took a look, and you're married to Claire; so I didn't want to mess with the custom NPCs.

However, I checked the available special orders, and you have 4 vanilla ones. Some collection quests for Robin & Demetrius. And, 2 Qi Challenge ones.
As well as one modded one for RSV.

So I've tried deleting the available ones, and making 2 different edits. 1 with just the modded RSV quest, and the other save with just the vanilla ones.
Might be worth trying, but I'm unsure. As special orders reset on the new week; so it may crash again.
I've tried both saves and did what I would have normally done during that day. Both did not progress to the next day.
 
I've tried both saves and did what I would have normally done during that day. Both did not progress to the next day.
Here's one last one you can try with the original NPCs you mentioned removed afterall, and a couple extra legacy sp. order bits. Other than that; I'm not sure, sorry.
I still haven't been able to reproduce the error on my end; so it's hard to narrow down the cause. As I could keep sleeping, and moving on to the next day without issue when testing the save.
 

Attachments

Dimple

Newcomer
Here's one last one you can try with the original NPCs you mentioned removed afterall, and a couple extra legacy sp. order bits. Other than that; I'm not sure, sorry.
I still haven't been able to reproduce the error on my end; so it's hard to narrow down the cause. As I could keep sleeping, and moving on to the next day without issue when testing the save.
I've tried the save with both Ridgeside and SVE on and managed to get to the next day. Though since I'd rather not not be with Claire, I loaded my backup and removed the multiplayer house on a hunch. I managed to get to two new days before freezing on the 27th. Same issue. Oh well. Thank you for your patience. I'll try to see what more I could do by myself after Christmas.
 

n0rd

Newcomer
I'm not familiar with the mod, but looking it up; it does say it's deprecated: https://www.nexusmods.com/stardewvalley/mods/8111?tab=files
You could try switching to that "Modular Gameplay Overhaul" mod that it recommends.

Though we may be able to glean some more info from a log: https://smapi.io/log/



I managed to find your other post; thanks for posting a log. I am seeing 3 different mods editing SpecialOrders.

Code:
23:33:08    TRACE    Ridgeside Village (SMAPI component)    Registered RSVSpecialOrderBoard
23:33:08    TRACE    Stardew Valley Expanded    Applying Harmony patch "HarmonyPatch_UntimedSpecialOrders": postfixing SDV method "SpecialOrders.IsTimedQuest()".
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:35:25    TRACE    SMAPI    Content Patcher loaded asset 'Maps/zrsvspecialeffects' (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Stardew Valley Expanded' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'East Scarp NPCs' content pack).
23:37:37    TRACE    SMAPI    Content Patcher edited Data/SpecialOrders (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Stardew Valley Expanded' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'East Scarp NPCs' content pack).
23:40:23    TRACE    SMAPI    Content Patcher edited Strings/SpecialOrderStrings (for the 'Ridgeside Village (Content Patcher component)' content pack).
23:50:08    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.ShipObjective.OnItemShipped(Farmer farmer, Item item, Int32 shipped_price) in stardewvalley\Farmer\Farmer\SpecialOrder.cs:line 2077
   at StardewValley.Game1._newDayAfterFade()+MoveNext() in stardewvalley\Farmer\Farmer\Game1.cs:line 9158
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2() in stardewvalley\Farmer\Farmer\Game1.cs:line 8714
   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)
SDV Expanded itself mentions modifying the special orders to be untimed. Though, it could be a vanilla issue as well.
Do you know if the active quests are modded special orders or not?
Hi MysticTempest,

apologies for longer pause that was due to holidays.

So I deleted the deprecated mod "Walk of Life" and switched to "Modular Gameplay Overhaul" as suggested.
Unfortunately, issue persists. I tried to not ship any gem, just standard ales not affected by mods, some cheese/mayo/cloth and amaranth.
Here is my log when I couldn't move to the next day:
https://smapi.io/log/3f9c5671064d426e9dc403466419039e
 
Hi MysticTempest,

apologies for longer pause that was due to holidays.

So I deleted the deprecated mod "Walk of Life" and switched to "Modular Gameplay Overhaul" as suggested.
Unfortunately, issue persists. I tried to not ship any gem, just standard ales not affected by mods, some cheese/mayo/cloth and amaranth.
Here is my log when I couldn't move to the next day:
https://smapi.io/log/3f9c5671064d426e9dc403466419039e
No worries; and thanks for the log.
That's a bit odd; makes me wonder if it's an issue with the vanilla game.

Your log however, shows a great deal of mods that it recommends updating. You may want to try, and resolve some of that first.

----
I've also been perusing for commonalities between the 3 of y'alls logs.
These 5 mods y'all have in common:

Code:
All chests menu
Content patcher animation
Expanded precondition utility
Npc map locations
Spacecore
But, other then Spacecore; they're not really affecting saves themselves.

You could try temporarily removing it; though doing so will disable any mods that depend on it.
And, I'd suggest making a backup of your save before doing so as well: https://stardewvalleywiki.com/Saves#Find_your_save_files
 
Top