Issue Stardew 1.6 game won't run with mods

sylvr_axyz

Greenhorn
(Please be kind, it's my first time posting on any forum)
I'm on Windows and I've already redownloaded the game and all the mods (complete delete and redownload). When I ran the game without mods, it's fine so I know there's something wrong with the mods. From what I can tell, most of the mods I'm using are compatible with the current version (some mods that use content patcher for dialogue haven't been updated but I don't think it's that). I tried running the game without SDV Expanded since I've seen some errors that look similar but the error is still there. I tried making a new save file and it ran fine but when loading my old files, it wouldn't work.

Hope someone can inform me of what to do. Thank you <3 !

Code:
    Error trying to instantiate indoors for 'Shipping Bin'
MissingMethodException: Constructor on type 'StardewValley.GameLocation' not found.
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at StardewValley.Buildings.Building.createIndoors(BuildingData data, String nameOfIndoorsWithoutUnique) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Buildings\Building.cs:line 1994
16:33:19    ERROR    game    loadNewGameTask failed with an exception.
Microsoft.Xna.Framework.Content.ContentLoadException: The content file was not found.
 ---> FileNotFoundException: Could not find file 'D:\Program Files\Steam\steamapps\common\Stardew Valley\Content\Maps\null.xnb'.
File name: 'D:\Program Files\Steam\steamapps\common\Stardew Valley\Content\Maps\null.xnb'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29
   at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37
   at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276
   --- End of inner exception stack trace ---
   at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289
   at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 319
   at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 333
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127
   at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache)
   at StardewValley.LocalizedContentManager.Load[T](String assetName, LanguageCode language) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalizedContentManager.cs:line 524
   at StardewValley.GameLocation.loadMap(String mapPath, Boolean force_reload) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 1905
   at StardewValley.GameLocation.reloadMap() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 2072
   at StardewValley.GameLocation..ctor(String mapPath, String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 1377
   at StardewValley.Buildings.Building.createIndoors(BuildingData data, String nameOfIndoorsWithoutUnique) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Buildings\Building.cs:line 1999
   at StardewValley.Buildings.Building.LoadFromBuildingData(BuildingData data, Boolean forUpgrade, Boolean forConstruction) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Buildings\Building.cs:line 540
   at StardewValley.Buildings.Building.load() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Buildings\Building.cs:line 2086
   at StardewValley.GameLocation.AddDefaultBuilding(String id, Vector2 tile, Boolean load) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 1402
   at StardewValley.Farm.AddDefaultBuildings(Boolean load) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\Farm.cs:line 117
   at StardewValley.Game1.loadForNewGame_PatchedBy<spacechase0.JsonAssets__spacechase0.SpaceCore>(Game1 this, Boolean loadedGame)
   at StardewModdingAPI.Framework.SGame.loadForNewGame(Boolean loadedGame)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_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)
16:33:19    ERROR    SMAPI    An error occurred in the overridden update loop: Microsoft.Xna.Framework.Content.ContentLoadException: The content file was not found.
 ---> FileNotFoundException: Could not find file 'D:\Program Files\Steam\steamapps\common\Stardew Valley\Content\Maps\null.xnb'.
File name: 'D:\Program Files\Steam\steamapps\common\Stardew Valley\Content\Maps\null.xnb'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29
   at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37
   at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276
   --- End of inner exception stack trace ---
   at StardewValley.SaveGame+<getLoadEnumerator>d__95.MoveNext_PatchedBy<spacechase0.SpaceCore>(<getLoadEnumerator>d__95 this)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
 

Attachments

frenchmushroom

Greenhorn
I have the same thing appear to my SMAPI too!! New save files and also ones that have only few in game days of playtime work fine, however, my primary save that's in 4th year does not open at all. If you find a solution please tell how you did it, I'm trying to research it on my own atm too :((
 

soranyan

Greenhorn
i'm having the same exact problem and your log looks just like mine :( i don't know what's wrong since i was just playing fine with all my mods yesterday, and now today i can't open my save file. i have no idea how to fix it so if anyone has any info it would be very much appreciated!

edit: actually, if you have a mod called "Maps" and/or "ExtraMapLayers" try removing them. i took them both out and now my save is loading again and everything is fine!
 
Last edited:

deltaliina

Greenhorn
Same problem here. Removing maps did not work for me.

edit: found the mod that didn't work for me - The perks of being married. deleted it and all seems fine now
 
Last edited:
Top