Smapi overridden update loop

Calypso

Newcomer
So I'm trying to join my boyfriend but I keep getting this error code when I try, its when I click the farm. What can I do to fix this?


[SMAPI] An error occurred in the overridden update loop: InvalidOperationException: Failed reading Character (Farmer) field 'Character (Farmer): friendshipData'
---> ArgumentException: An item with the same key has already been added. Key:
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Netcode.NetDictionary`5.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:line 604
at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 236
--- End of inner exception stack trace ---
at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 240
at Netcode.NetExtendableRef`2.ReadValueFull(T value, BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:line 264
at Netcode.NetRefBase`2.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:line 223
at StardewValley.Multiplayer.readFarmer(BinaryReader reader) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Multiplayer.cs:line 882
at StardewValley.Network.Client.receiveServerIntroduction(BinaryReader msg) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 298
at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 305
at StardewValley.SDKs.Steam.SteamNetClient.receiveMessagesImpl() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamNetClient.cs:line 406
at StardewValley.Network.Client.receiveMessages() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 70
at StardewValley.Menus.FarmhandMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:line 292
at StardewValley.Menus.TitleMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 1728
at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4794
at StardewValley.Game1._update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4131
at StardewValley.Game1.Update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3199
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 706
[game] WARNING: Mismatched UI Mode Push/Pop counts. Correcting.
 

zuongies

Newcomer
Also got that error code like you when I joined multi-player farm but I haven't found the solution yet. (I don't have json assets/ spacecore mod as said in the reply above). Did you find a solution for this?

// Edited: Figured out! This happens when either the host/ player have spacecore and the other one don't!
 

Attachments

Last edited:

RukiHiroko

Greenhorn
ME TOO!
So I fix by add mod spacecore for Fix setEngaged and yeah I can play this with my bf again
You should try.
1716135609212.png
 
Top