1. This forum is primarily for mobile related issues - for support for PC/Console visit the support section of forums.stardewvalley.net

Bug/Issue Cannot save game! Serious help needed!

Discussion in 'Support' started by killutia, Dec 28, 2020.

  1. killutia

    killutia Void-Bound Voyager

    Thanks for helping! I'm quite desperate because I've done a lot in these recent days in game and don't want to replay all of them.

    • your platform (e.g. Linux, Windows, Android, etc): steam on windows
    • your game version: 1.5.1
    • your SMAPI log (if playing with mods):
      log's here, but the error message is in the attached file.
      https://smapi.io/log/f36f399e1ecc4b1987542067e642b55b
    • repro steps (instructions to cause the issue): no idea. there were some bugs after updating to 1.5. before the specific day in the game that i couldn't save, the only thing i did was edited the warp file in CJB cheat menu mod when the game was still running.
     

      Attached Files:

      Memeiac likes this.
    • killutia

      killutia Void-Bound Voyager

      Here's the error message in red:

      [game] System.InvalidOperationException: 生成 XML 文档时出错。 ---> System.InvalidOperationException: 生成 XML 文档时出 错。 ---> System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。
      在 System.Collections.Generic.Dictionary`2.get_Item(TKey key)
      在 StardewValley.Objects.Furniture.getData() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Furniture.cs:行号 215
      在 StardewValley.Objects.Furniture.loadDisplayName() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Furniture.cs:行号 222
      在 StardewValley.Object.get_DisplayName() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Object.cs:行号 292
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write66_Furniture(String n, String ns, Furniture o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write51_Item(String n, String ns, Item o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write69_Chest(String n, String ns, Chest o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write97_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write98_Object(Object o)
      --- 内部异常堆栈跟踪的结尾 ---
      在 System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
      在 StardewValley.SerializableDictionary`2.WriteXml(XmlWriter writer) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SerializableDictionary.cs:行号 138
      在 System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write129_FarmHouse_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, FarmHouse isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write188_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, GameLocation isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write235_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, SaveGame isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write236_SaveGame(Object o)
      --- 内部异常堆栈跟踪的结尾 ---
      在 System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
      在 System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o)
      在 SpaceCore.Overrides.SaveGameSaveEnumeratorPatch.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj) 位置 C:\Programming\StardewValley\ModSource\SpaceCore_SDV\Overrides\SaveGame.cs:行号 332
      在 StardewValley.SaveGame+<getSaveEnumerator>d__90.MoveNext_PatchedBy<spacechase0.SpaceCore>(Object )
      在 StardewValley.SaveGame.<>c__DisplayClass88_0.<Save>b__0() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:行号 383
      在 System.Threading.Tasks.Task.InnerInvoke()
      在 System.Threading.Tasks.Task.Execute()
      [SMAPI] An error occurred in the overridden update loop: System.InvalidOperationException: 生成 XML 文档时出错。 ---> System.InvalidOperationException: 生成 XML 文档时出错。 ---> System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。
      在 System.Collections.Generic.Dictionary`2.get_Item(TKey key)
      在 StardewValley.Objects.Furniture.getData() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Furniture.cs:行号 215
      在 StardewValley.Objects.Furniture.loadDisplayName() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Furniture.cs:行号 222
      在 StardewValley.Object.get_DisplayName() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Objects\Object.cs:行号 292
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write66_Furniture(String n, String ns, Furniture o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write51_Item(String n, String ns, Item o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write69_Chest(String n, String ns, Chest o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write97_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterObject.Write98_Object(Object o)
      --- 内部异常堆栈跟踪的结尾 ---
      在 System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
      在 StardewValley.SerializableDictionary`2.WriteXml(XmlWriter writer) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SerializableDictionary.cs:行号 138
      在 System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write129_FarmHouse_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, FarmHouse isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write188_GameLocation_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, GameLocation isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write235_SaveGame_PatchedBy<Platonymous.PyTK.Rev>(Object n, String ns, String o, SaveGame isNullable, Boolean needType, Boolean )
      在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSaveGame.Write236_SaveGame(Object o)
      --- 内部异常堆栈跟踪的结尾 ---
      在 StardewValley.SaveGame.<Save>d__88.MoveNext() 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:行号 411
      在 StardewValley.Menus.SaveGameMenu.update(GameTime time) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\SaveGameMenu.cs:行号 123
      在 StardewValley.Menus.ShippingMenu.update(GameTime time) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\ShippingMenu.cs:行号 340
      在 StardewValley.Game1._update(GameTime gameTime) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:行号 3976
      在 StardewValley.Game1.Update(GameTime gameTime) 位置 C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:行号 3768
      在 StardewModdingAPI.Framework.SGame.<>c__DisplayClass35_0.<Update>b__0() 位置 C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:行号 169
      在 StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) 位置 C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:行号 688

      could this be the reason? i got these new messages when starting up:

      23:44:10 WARN SMAPI Changed save serializer
      23:44:10 WARN SMAPI --------------------------------------------------
      23:44:10 WARN SMAPI These mods change the save serializer. They may corrupt your save files, or make them unusable if
      23:44:10 WARN SMAPI you uninstall these mods.
      23:44:10 WARN SMAPI - Entoarox Framework
      23:44:10 WARN SMAPI - PyTK
      23:44:10 WARN SMAPI - SpaceCore
      23:44:10 WARN SMAPI - TMXL Map Toolkit
       
        Last edited by a moderator: Jan 3, 2021
      • Pangaea

        Pangaea Forum Moderator

      Share This Page