Mod Issues

WhitneyFox

Planter
Can you try running the day again and close out as soon as it starts saving. It looks like you're caught in a repeating error and if you close out soon enough the file shouldn't be so large.
 

lenithemonster

Greenhorn
Can you upload your SMAPI log here: https://smapi.io/log so we can better see what might be causing the error.
Oh, I can see the problem now. The same line is there like 1000 times. I edited the file (meaning I deleted copies of this same line).

And its working now


Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
at StardewValley.NPC.playSleepingAnimation_PatchedBy<aedenthorn.MultipleSpouses>(NPC this)
at StardewValley.NPC.Halt()
at StardewValley.NPC.resetForNewDay(Int32 dayOfMonth)
at StardewValley.NPC.dayUpdate(Int32 dayOfMonth)
at StardewValley.Game1._newDayAfterFade()+MoveNext()
at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2()
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)
---------------

at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4154
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
[12:27:20 TRACE game] _newDayTask failed with an exception
[12:27:20 ERROR game] FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
at StardewValley.NPC.playSleepingAnimation_PatchedBy<aedenthorn.MultipleSpouses>(NPC this)
at StardewValley.NPC.Halt()
at StardewValley.NPC.resetForNewDay(Int32 dayOfMonth)
at StardewValley.NPC.dayUpdate(Int32 dayOfMonth)
at StardewValley.Game1._newDayAfterFade()+MoveNext()
at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2()
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)
 

WhitneyFox

Planter
So it looks like there might be a problem with Xiddav's Little Red School House. You may need to remove that mod and reinstall it. It looks like the maps and images are missing.

12:05:27ERRORContent PatcherUnhandled exception applying patch: Xiddav's Little Red School House > Include assets/School Closed.json > EditMap Maps/Town #2. StardewModdingAPI.Framework.Exceptions.SContentLoadException: Xiddav's Little Red School House loaded map 'assets/TownRundownSchoolHouseSVE.tmx' with invalid tilesheet path 'spring_littleschoolhouse.png'. The tilesheet couldn't be found relative to either map file or the game's content folder. at StardewModdingAPI.Framework.ContentManagers.ModContentManager.FixTilesheetPaths(Map map, String relativeMapPath, Boolean fixEagerPathPrefixes) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 452 at StardewModdingAPI.Framework.ContentManagers.ModContentManager.LoadMapFile[T](IAssetName assetName, FileInfo file) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 296 at StardewModdingAPI.Framework.ContentManagers.ModContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 131 at StardewModdingAPI.Framework.ModHelpers.ModContentHelper.Load[T](String relativePath) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModContentHelper.cs:line 57 at ContentPatcher.Framework.Patches.EditMapPatch.Edit[T](IAssetData asset) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\EditMapPatch.cs:line 129 at ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection`1 patches, IAssetData asset) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 548

While this error appears before you play the day, I suspect it is what's causing the save error.
 
Top