miicute
Newcomer
Hey everyone,
Thanks in advance for taking a read and trying to help.
I'm new to Stardew and modding in general. I copied the crash info in red from SMAPI.
Please let me know if I need to copy the entire thing or anything else.
EDIT: Read another thread and added my parsed SMAPI log link:
https://smapi.io/log/09e4434403764145b5e8546cba05aa37
Please help me.
[game] InvalidOperationException: There is an error in XML document (59805, 11).
---> ArgumentException: An item with the same key has already been added. Key: {X:58 Y:21}
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at StardewValley.SerializableDictionary`2.ReadXml(XmlReader reader) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 118
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read237_SaveGame(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read238_SaveGame()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at StardewValley.SaveGame.<>c__DisplayClass95_0.<getLoadEnumerator>b__0() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 1494
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 (59805, 11).
---> ArgumentException: An item with the same key has already been added. Key: {X:58 Y:21}
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at StardewValley.SerializableDictionary`2.ReadXml(XmlReader reader) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 118
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read237_SaveGame(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read238_SaveGame()
--- End of inner exception stack trace ---
at StardewValley.SaveGame.getLoadEnumerator(String file)+MoveNext() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 1510
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 641
Thanks in advance for taking a read and trying to help.
I'm new to Stardew and modding in general. I copied the crash info in red from SMAPI.
Please let me know if I need to copy the entire thing or anything else.
EDIT: Read another thread and added my parsed SMAPI log link:
https://smapi.io/log/09e4434403764145b5e8546cba05aa37
Please help me.
[game] InvalidOperationException: There is an error in XML document (59805, 11).
---> ArgumentException: An item with the same key has already been added. Key: {X:58 Y:21}
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at StardewValley.SerializableDictionary`2.ReadXml(XmlReader reader) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 118
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read237_SaveGame(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read238_SaveGame()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at StardewValley.SaveGame.<>c__DisplayClass95_0.<getLoadEnumerator>b__0() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 1494
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 (59805, 11).
---> ArgumentException: An item with the same key has already been added. Key: {X:58 Y:21}
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at StardewValley.SerializableDictionary`2.ReadXml(XmlReader reader) in stardewvalley\Farmer\Farmer\SerializableDictionary.cs:line 118
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read113_Farm(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read190_GameLocation(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read237_SaveGame(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read238_SaveGame()
--- End of inner exception stack trace ---
at StardewValley.SaveGame.getLoadEnumerator(String file)+MoveNext() in stardewvalley\Farmer\Farmer\SaveGame.cs:line 1510
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 641
Last edited by a moderator: