ghostlyfoxx
Greenhorn
Everything was fine, then suddenly it threw me into a cutscene where I was just stuck in the wall. Couldn't skip, do anything. Now every time something happens, I get this
[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.Write128_LocationContext(LocationContext v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write129_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) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 133
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write265_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationWriterSaveGame this, String n, String ns, SaveGame o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write266_SaveGame(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 SpaceCore.Patches.SaveGamePatcher.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj) in C:\Programming\StardewValley\ModSource\SpaceCore\Patches\SaveGamePatcher.cs:line 401
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)
[game] An error occurred in the base update loop: 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.Write128_LocationContext(LocationContext v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write129_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) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 133
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write265_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationWriterSaveGame this, String n, String ns, SaveGame o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write266_SaveGame(Object o)
--- End of inner exception stack trace ---
at StardewValley.SaveGame.Save()+MoveNext() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 416
at SaveAnywhere.Framework.NewSaveGameMenuV2.update(GameTime time) in C:\Users\yuval\Desktop\SaveAnywhere1\Framework\NewSaveGameMenuV2.cs:line 92
at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4182
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 1117
[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.Write128_LocationContext(LocationContext v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write129_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) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 133
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write265_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationWriterSaveGame this, String n, String ns, SaveGame o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write266_SaveGame(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 SpaceCore.Patches.SaveGamePatcher.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj) in C:\Programming\StardewValley\ModSource\SpaceCore\Patches\SaveGamePatcher.cs:line 401
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)
[game] An error occurred in the base update loop: 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.Write128_LocationContext(LocationContext v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLocationContext.Write129_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) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 133
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write265_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(XmlSerializationWriterSaveGame this, String n, String ns, SaveGame o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write266_SaveGame(Object o)
--- End of inner exception stack trace ---
at StardewValley.SaveGame.Save()+MoveNext() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 416
at SaveAnywhere.Framework.NewSaveGameMenuV2.update(GameTime time) in C:\Users\yuval\Desktop\SaveAnywhere1\Framework\NewSaveGameMenuV2.cs:line 92
at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4182
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 1117