Issue NullReferenceException: Object reference not set to an instance of an object.

bamtol

Newcomer

smapi log - https://smapi.io/log/e61a5f9bb04340f6b3e4fbf41baa20d2



Screenshot 2023-02-09 at 13.55.10.JPG


Null Reference Exception: Object reference is not set to an instance of an object. / What the hell is this?
What the hell is this? I want to open the file myself, but I don't know what file it is and I don't know where it is.
I know you can reinstall the xna framework.
But I don't know what that damn error is. Help me.
 
Thanks for the log.
That error, and the one before it appear to be related to an audio issue.
May want to removing the "Custom Summer Sounds" which uses "CustomMusic" to play. Or just "CustomMusic" which'll disable the other mod, and see if the error stops.

Code:
13:58:36    ERROR    game    An error occurred in the base update loop: ArgumentException: Value does not fall within the expected range.
   at Microsoft.Xna.Framework.Audio.SoundBank.GetCue_PatchedBy<Platonymous.CustomMusic>(SoundBank this, String name)
   at StardewValley.SoundBankWrapper.GetCue(String name)
   at StardewValley.Game1.updateMusic()
   at StardewValley.Game1._update(GameTime gameTime)
   at StardewValley.Game1.Update(GameTime gameTime)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
You also have a couple other minor errors, and mods that can be updated per the log you posted.
 
Top