Solved Game Crashes When Loading Save After Transfering from Android to Steam [Windows]

AneskaDeth

Newcomer
Hi,

I have transferred my save from android to steam using the instructions on the wiki. However, it loads and then crashes my game with:

Message: There is an error in XML document (1, 2983152).
InnerException: System.ArgumentException: Requested value 'Mill' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at Netcode.NetEnum`1.Add(String value) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetEnum.cs:line 53
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read23_Chest(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read196_Mill(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read200_Building(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read152_Farm(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read191_GameLocation(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read272_SaveGame(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read273_SaveGame()
Stack Trace: at StardewValley.SaveGame.getLoadEnumerator(String file)+MoveNext() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:line 1448
at StardewValley.Game1.UpdateTitleScreen(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 5606
at StardewValley.Game1._update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4120
at StardewValley.Game1.Update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3199
at StardewValley.GameRunner.Update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 927
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 917
at Microsoft.Xna.Framework.Game.Tick() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 620
at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\SDL\SDLGamePlatform.cs:line 91
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 481
at StardewValley.Program.Main(String[] args) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 200

Game Version: 1.6.3 build 24087
SDK Helper: SteamHelper
Game Language: en
GPU: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OS: Win32NT Microsoft Windows NT 10.0.22631.0
In-game Date: Spring 0 Y1 Time of Day: 600
Game Location: null

Any help greatly appreciated.
 

Attachments

nandamoon

Newcomer
Hello, AneskaDeth! I don't know if you've already solved this problem, but here's the suggestion that solved it for me.

My advanced save was initially started on my iPad. Later, I tried to transfer the save to my Windows 10 computer, which has the most up-to-date version of Stardew Valley on Steam. Whenever I tried to play with this save on the computer, it crashed when loading. At first I thought it was because of the version of the save, as all mobile devices are still on version 1.5, unlike the computer version, which is already on 1.6.6.

For the "InnerException: System.ArgumentException: Requested value 'Mill' was not found" error that appears in the ErrorLogs folder, here's a solution: before trying to move the save from mobile to PC, you first need to demolish the Mill building on your farm. It's a bit obvious haha, but for me, who doesn't have English as main language, it was a mind explosion. I understand that if you can't run the game on any device, this makes any action complicated. But here's a suggestion for those of you who can still run the game on a mobile device before trying it on PC.

I hope this works and helps you!
 

Pathoschild

Developer
Hi! Mill chests on mobile have a <specialChestType>Mill</specialChestType> value, which doesn't exist on other platforms. That's fixed in the upcoming Stardew Valley 1.6.9.

In the meantime, you can edit your save file and delete that line to let it load on PC.
 
Top