DumBunni
Newcomer
Hi there! Im super new to modding. I can load the intro cutscene just fine, but as soon as it goes to load into the gameplay, I get stuck on the loading screen. When I check Smapi, I have this string of error messages.
Any idea what it means and how to fix? Thank you!
{ [game] An error occurred in the base update loop: InvalidCastException: Unable to cast object of type 'Microsoft.Xna.Framework.Graphics.Texture2D' to type 'System.Collections.Generic.Dictionary`2[System.Int32,System.String]'.
at Microsoft.Xna.Framework.Content.ContentReader.InnerReadObject[T](T existingInstance) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 176
at Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]() in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 152
at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]() in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 61
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 324
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 141
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 StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 152
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 143
at StardewValley.Objects.Furniture.getData() in stardewvalley\Farmer\Farmer\Objects\Furniture.cs:line 213
at StardewValley.Objects.Furniture..ctor(Int32 which, Vector2 tile) in stardewvalley\Farmer\Farmer\Objects\Furniture.cs:line 170
at StardewValley.Locations.FarmHouse..ctor(String m, String name) in stardewvalley\Farmer\Farmer\Locations\FarmHouse.cs:line 564
at StardewValley.Game1.loadForNewGame_PatchedBy<SMAPI__spacechase0.JsonAssets__spacechase0.SpaceCore>(Boolean loadedGame)
at StardewValley.Minigames.Intro.tick(GameTime time)
at StardewValley.Game1._update(GameTime gameTime)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
[game] An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.Game1.onFadeToBlackComplete_PatchedBy<tlitookilakin.AeroCore>(Game1 this)
at StardewValley.BellsAndWhistles.ScreenFade.UpdateFade(GameTime time)
at StardewValley.Game1.UpdateOther(GameTime time)
at StardewValley.Game1._update(GameTime gameTime)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) }
Any idea what it means and how to fix? Thank you!
{ [game] An error occurred in the base update loop: InvalidCastException: Unable to cast object of type 'Microsoft.Xna.Framework.Graphics.Texture2D' to type 'System.Collections.Generic.Dictionary`2[System.Int32,System.String]'.
at Microsoft.Xna.Framework.Content.ContentReader.InnerReadObject[T](T existingInstance) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 176
at Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]() in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 152
at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]() in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentReader.cs:line 61
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 324
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 141
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 StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 152
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 143
at StardewValley.Objects.Furniture.getData() in stardewvalley\Farmer\Farmer\Objects\Furniture.cs:line 213
at StardewValley.Objects.Furniture..ctor(Int32 which, Vector2 tile) in stardewvalley\Farmer\Farmer\Objects\Furniture.cs:line 170
at StardewValley.Locations.FarmHouse..ctor(String m, String name) in stardewvalley\Farmer\Farmer\Locations\FarmHouse.cs:line 564
at StardewValley.Game1.loadForNewGame_PatchedBy<SMAPI__spacechase0.JsonAssets__spacechase0.SpaceCore>(Boolean loadedGame)
at StardewValley.Minigames.Intro.tick(GameTime time)
at StardewValley.Game1._update(GameTime gameTime)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
[game] An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.Game1.onFadeToBlackComplete_PatchedBy<tlitookilakin.AeroCore>(Game1 this)
at StardewValley.BellsAndWhistles.ScreenFade.UpdateFade(GameTime time)
at StardewValley.Game1.UpdateOther(GameTime time)
at StardewValley.Game1._update(GameTime gameTime)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) }