15:05:43 ERROR game InvalidOperationException: There was an error generating the XML document.
---> InvalidOperationException: There was an error generating the XML document.
---> InvalidOperationException: Instance validation error: '-1226308515' is not a valid value for StardewValley.GameLocation.LocationContext.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write1_LocationContext(LocationContext v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write2_LocationContext(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at StardewValley.SerializableDictionary`2.WriteXml(XmlWriter writer)
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write235_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationWriterSaveGame this, String n, String ns, SaveGame o, Boolean isNullable, Boolean needType)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at SpaceCore.Patches.SaveGamePatcher.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj)
at StardewValley.SaveGame+<getSaveEnumerator>d__90.MoveNext_PatchedBy<spacechase0.SpaceCore>(<getSaveEnumerator>d__90 this)
at StardewValley.SaveGame.<>c__DisplayClass88_0.<Save>b__0()
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)