Issue Game returns to loading screen when trying to load a save

appleseap

Newcomer
Here is the error from SMAPI

Code:
[game] InvalidOperationException: There is an error in XML document (1, 2312271).
 ---> NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.GameLocation.isTemp_PatchedBy<Esca.FarmTypeManager>(GameLocation this)
   at StardewValley.Network.NetLocationRef.Set(GameLocation location)
   at StardewValley.Locations.Cabin.resetFarmhandState()
   at StardewValley.Locations.Cabin.getFarmhand()
   at StardewValley.Locations.Cabin.get_owner()
   at StardewValley.Locations.FarmHouse.updateMap()
   at StardewValley.Locations.DecoratableLocation.UpdateWallpaper(String wallpaper_id)
   at Netcode.NetDictionary`5.added(TKey key, TField field, NetVersion reassign)
   at Netcode.NetDictionary`5.CopyFrom(IEnumerable`1 dict)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read149_Cabin_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read110_Building_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read256_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read257_SaveGame()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at SpaceCore.Patches.SaveGamePatcher.DeserializeProxy(XmlSerializer serializer, Stream stream, String farmerPath, Boolean fromSaveGame) in E:\source\_Stardew\Mods.spacechase0\SpaceCore\Patches\SaveGamePatcher.cs:line 331
   at StardewValley.SaveGame+c__DisplayClass94_0.<getLoadEnumerator>b__0_PatchedBy<spacechase0.SpaceCore>(<>c__DisplayClass94_0 this)
   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)

[SMAPI] An error occurred in the overridden update loop: InvalidOperationException: There is an error in XML document (1, 2312271).
 ---> NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.GameLocation.isTemp_PatchedBy<Esca.FarmTypeManager>(GameLocation this)
   at StardewValley.Network.NetLocationRef.Set(GameLocation location)
   at StardewValley.Locations.Cabin.resetFarmhandState()
   at StardewValley.Locations.Cabin.getFarmhand()
   at StardewValley.Locations.Cabin.get_owner()
   at StardewValley.Locations.FarmHouse.updateMap()
   at StardewValley.Locations.DecoratableLocation.UpdateWallpaper(String wallpaper_id)
   at Netcode.NetDictionary`5.added(TKey key, TField field, NetVersion reassign)
   at Netcode.NetDictionary`5.CopyFrom(IEnumerable`1 dict)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read149_Cabin_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read110_Building_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read256_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationReaderSaveGame this, Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read257_SaveGame()
   --- End of inner exception stack trace ---
   at StardewValley.SaveGame+<getLoadEnumerator>d__94.MoveNext_PatchedBy<spacechase0.SpaceCore>(<getLoadEnumerator>d__94 this)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 623
 
Top