Issue HELP!!! SMAPI error with overridden update loop.

kllrkitty

Newcomer
Hello all,

I am not exactally sure what the issue is with my mods, as far as I am aware they are all compatible and updated. When I first recieved this error code it was only after I'd opened the game. Everything shows green codes until I try and load into my friends co-op world that we've actively played in for weeks. Then, I am just stuck on a loading screen and these error codes will just loop in the SMAPI.

None of us (three people using the co-op) have downloaded any new mods when this issue appeared.
The issues appeared AFTER updating SMAPI, Spacecore (to 1.12), PyTK, Content Patcher, and JsonAssets.
I noticed the "Staredewvalley/farmer/farmer/" etc. and tried to search in in my files as well as online for any clues but drew only blanks.

It's been a while trying to fix this on my own now so any help would be absolutely wonderrful.
Here is a recent error log for my SMAPI: https://smapi.io/log/faab4ff29f7a4a5889cd4e70dca5cd39
and I have access to the logs of both of my co-op partners so if that is needed let me know of course!

Thank You!

edit: forgot to mention, we all use Windows, and all of our stardew games are up to date.
 
Last edited:
Thanks for the log.
I know you said; no other players have downloaded any new mods. But, can you share their logs as well?

You have a few general network errors, but one that isn't.
Code:
23:32:36    ERROR    SMAPI    An error occurred in the overridden update loop: InvalidOperationException: There is an error in XML document (570, 6).
 ---> InvalidOperationException: The specified type was not recognized: name='Mods_DGABasicFurniture', namespace='', at <Item xmlns=''>.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read49_Item(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read118_Farmer(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read119_Farmer()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Netcode.NetRefBase`2.deserialize(BinaryReader reader, XmlSerializer serializer) in stardewvalley\Farmer\Netcode\NetRef.cs:line 105
   at Netcode.NetRefBase`2.ReadFull(BinaryReader reader, NetVersion version) in stardewvalley\Farmer\Netcode\NetRef.cs:line 220
   at StardewValley.Multiplayer.readFarmer(BinaryReader reader) in stardewvalley\Farmer\Farmer\Network\Multiplayer.cs:line 863
   at StardewValley.Network.Client.receiveServerIntroduction(BinaryReader msg) in stardewvalley\Farmer\Farmer\Network\Client.cs:line 279
   at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 330
   at StardewValley.SDKs.GalaxyNetClient.onReceiveMessage(GalaxyID peer, Stream messageStream) in stardewvalley\Farmer\Farmer\SDKs\GalaxyNetClient.cs:line 98
   at StardewValley.SDKs.GalaxySocket.Receive(Action`1 onConnection, Action`2 onMessage, Action`1 onDisconnect, Action`1 onError) in stardewvalley\Farmer\Farmer\SDKs\GalaxySocket.cs:line 769
   at StardewValley.SDKs.GalaxyNetClient.receiveMessagesImpl() in stardewvalley\Farmer\Farmer\SDKs\GalaxyNetClient.cs:line 63
   at StardewValley.Network.Client.receiveMessages() in stardewvalley\Farmer\Farmer\Network\Client.cs:line 75
   at StardewValley.Menus.FarmhandMenu.update(GameTime time) in stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:line 299
   at StardewValley.Menus.TitleMenu.update(GameTime time) in stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 1714
   at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 5470
   at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4917
   at StardewValley.Game1.Update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 3974
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 744
It looks like it may be a bugged, DGA furniture item in the spacecore files; found in the host's save.
I'm not seeing any DGA items in your log. A little surprised you're the only one crashing though.

Also, I see you mentioned updating PyTK; but it doesn't show up at all. Like it's not installed currently for you.
 

kllrkitty

Newcomer
Thanks for the log.
I know you said; no other players have downloaded any new mods. But, can you share their logs as well?

You have a few general network errors, but one that isn't.
Code:
23:32:36    ERROR    SMAPI    An error occurred in the overridden update loop: InvalidOperationException: There is an error in XML document (570, 6).
---> InvalidOperationException: The specified type was not recognized: name='Mods_DGABasicFurniture', namespace='', at <Item xmlns=''>.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read49_Item(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read118_Farmer(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFarmer.Read119_Farmer()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Netcode.NetRefBase`2.deserialize(BinaryReader reader, XmlSerializer serializer) in stardewvalley\Farmer\Netcode\NetRef.cs:line 105
   at Netcode.NetRefBase`2.ReadFull(BinaryReader reader, NetVersion version) in stardewvalley\Farmer\Netcode\NetRef.cs:line 220
   at StardewValley.Multiplayer.readFarmer(BinaryReader reader) in stardewvalley\Farmer\Farmer\Network\Multiplayer.cs:line 863
   at StardewValley.Network.Client.receiveServerIntroduction(BinaryReader msg) in stardewvalley\Farmer\Farmer\Network\Client.cs:line 279
   at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 330
   at StardewValley.SDKs.GalaxyNetClient.onReceiveMessage(GalaxyID peer, Stream messageStream) in stardewvalley\Farmer\Farmer\SDKs\GalaxyNetClient.cs:line 98
   at StardewValley.SDKs.GalaxySocket.Receive(Action`1 onConnection, Action`2 onMessage, Action`1 onDisconnect, Action`1 onError) in stardewvalley\Farmer\Farmer\SDKs\GalaxySocket.cs:line 769
   at StardewValley.SDKs.GalaxyNetClient.receiveMessagesImpl() in stardewvalley\Farmer\Farmer\SDKs\GalaxyNetClient.cs:line 63
   at StardewValley.Network.Client.receiveMessages() in stardewvalley\Farmer\Farmer\Network\Client.cs:line 75
   at StardewValley.Menus.FarmhandMenu.update(GameTime time) in stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:line 299
   at StardewValley.Menus.TitleMenu.update(GameTime time) in stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 1714
   at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 5470
   at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4917
   at StardewValley.Game1.Update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 3974
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 744
It looks like it may be a bugged, DGA furniture item in the spacecore files; found in the host's save.
I'm not seeing any DGA items in your log. A little surprised you're the only one crashing though.

Also, I see you mentioned updating PyTK; but it doesn't show up at all. Like it's not installed currently for you.
Hi Mystic,
thank you for taking the time out of your day to try and help us.

Here is my co-op partners log: https://smapi.io/log/562f83bd043043289873410ab7a29fe9
and the co-op hosts log: https://smapi.io/log/1852b5a990ee4cc08749fa5f89f7730f

I know nothing about code but I'm assuming that neither of these logs contain code from after having opened the group farm since they are from today.

With what you'd mentioned about the bugged DGA furniture item in the hosts spacecore save, how should she go about fixing that should that be the case? Does she delete and redownload the furniture mod?

Please let me know if there is anymore information needed of course! Thank you again.
 
Hi Mystic,
thank you for taking the time out of your day to try and help us.

Here is my co-op partners log: https://smapi.io/log/562f83bd043043289873410ab7a29fe9
and the co-op hosts log: https://smapi.io/log/1852b5a990ee4cc08749fa5f89f7730f

I know nothing about code but I'm assuming that neither of these logs contain code from after having opened the group farm since they are from today.

With what you'd mentioned about the bugged DGA furniture item in the hosts spacecore save, how should she go about fixing that should that be the case? Does she delete and redownload the furniture mod?

Please let me know if there is anymore information needed of course! Thank you again.
Hey kllrkitty, no prob!

Thanks for the extra logs. So, out of the group; you seem to have the fewest mods.

Taking a look at the logs. The DGA error looked like legacy data, but the others don't have any issues.
They actually have a DGA mod installed that you don't.

That's likely the cause; it looks corrupt. But, it's just from your POV; the game can't recognize the item.


Try installing DGA and the Pretty Pink mod they're using with it:

 

kllrkitty

Newcomer
Hi MysticTempest,

Apologies for not getting back to you sooner to share my resuls, but we tried what you suggested and i downloaded those mods and it worked! (?) Well... kind of haha. Basically, downloading the two mods alone seemed to not work or show a difference in my error code when i would join my friends co-op, but then, our co-op partner lagged out and all of a sudden my game works.

We rlly don't know if downloading the two mods was nessecary in fixing the problem but after some trial and error we learned that of the two co-op guests, I cannot enter and will get the same error code unless I join first. Our friend can succesfully join after me, and we can go through multiple in game days no prob so, I think we are all good!

Anyways, I type all of this not only to inform you, but to maybe aid anyone else who may come across a similar issue.

TL;DR : I don't know how, but I can now play ONLY if I join the co-op first. Problem solved???
 
Hi MysticTempest,

Apologies for not getting back to you sooner to share my resuls, but we tried what you suggested and i downloaded those mods and it worked! (?) Well... kind of haha. Basically, downloading the two mods alone seemed to not work or show a difference in my error code when i would join my friends co-op, but then, our co-op partner lagged out and all of a sudden my game works.

We rlly don't know if downloading the two mods was nessecary in fixing the problem but after some trial and error we learned that of the two co-op guests, I cannot enter and will get the same error code unless I join first. Our friend can succesfully join after me, and we can go through multiple in game days no prob so, I think we are all good!

Anyways, I type all of this not only to inform you, but to maybe aid anyone else who may come across a similar issue.

TL;DR : I don't know how, but I can now play ONLY if I join the co-op first. Problem solved???
Wow, that's really odd. Thanks for sharing the results, kllrkitty!
 
Top