[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.
[SMAPI] An error occurred in the overridden update loop: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.GameLocation.performTenMinuteUpdate(Int32 timeOfDay) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 14046
at StardewValley.Locations.Forest.performTenMinuteUpdate(Int32 timeOfDay) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\Forest.cs:line 663
at StardewValley.Game1.<>c.<performTenMinuteClockUpdate>b__710_0() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 6076
at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 336
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.
Was playing this game with a friend and a day later it started saying ''no available cabins'' when I wanted to join I couldnt load in and SMAPI gave this long text of error code and just said that my character is just named now to ''new farmer'' or unknown farmer''. Please help if someone understands the code. Tried to reinstall the game a thousand times update mods and smapi reinstalled them too. Nothing seems to fix this. Also tried to delete cabin and place a new one but that didnt fix it. now when i try to load into a multiplayer game it just wont load it stays black screen.