Issue Please help me!

Deathmeralda

Greenhorn
I keep getting these red texts here's my SMAPI log parser link https://smapi.io/log/5786291a8c72479fafd0851719974d8d

the game runs without any problems, I just wanna know what's this 'stardewvalley\Farmer\Farmer\NPC.cs:line' is keep doing and why is appearing as red.

please help me.


18:42:32ERRORgameAn error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object. at StardewValley.NPC.updateMovement(GameLocation location, GameTime time) in stardewvalley\Farmer\Farmer\NPC.cs:line 2678 at StardewValley.Character.update(GameTime time, GameLocation location, Int64 id, Boolean move) in stardewvalley\Farmer\Farmer\Character.cs:line 1223 at StardewValley.Character.update(GameTime time, GameLocation location) in stardewvalley\Farmer\Farmer\Character.cs:line 1162 at StardewValley.NPC.update(GameTime time, GameLocation location) in stardewvalley\Farmer\Farmer\NPC.cs:line 2999 at StardewValley.GameLocation.updateCharacters(GameTime time) in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 3511 at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush) in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 3542 at StardewValley.Game1.UpdateLocations(GameTime time) in stardewvalley\Farmer\Farmer\Game1.cs:line 6492 at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4867 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
repeats 86 times
23:16:59ERRORgameAn error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object. at StardewValley.NPC.updateMovement(GameLocation location, GameTime time) in stardewvalley\Farmer\Farmer\NPC.cs:line 2678 at StardewValley.Character.update(GameTime time, GameLocation location, Int64 id, Boolean move) in stardewvalley\Farmer\Farmer\Character.cs:line 1223 at StardewValley.Character.update(GameTime time, GameLocation location) in stardewvalley\Farmer\Farmer\Character.cs:line 1162 at StardewValley.NPC.update(GameTime time, GameLocation location) in stardewvalley\Farmer\Farmer\NPC.cs:line 2999 at StardewValley.GameLocation.updateCharacters(GameTime time) in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 3511 at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush) in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 3542 at StardewValley.Game1.UpdateLocations(GameTime time) in stardewvalley\Farmer\Farmer\Game1.cs:line 6492 at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4867 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
repeats 86 times
 
Thanks for the log.

The error you're seeing is a reference to the SDV gamecode. It's throwing an error in the NPC section related to the NPC movement; likely a schedule conflict or something.
As the only mod you really have that adds NPCs is SDV Expanded; it'd be the cause in your case.
I do see antisocial mod being active for HankSVE right before the errors, but I'm not sure if that's exactly the cause.

Code:
18:42:28    TRACE    Stardew Valley Expanded    [AntiSocial] Overriding CanSocialize for HankSVE
18:42:32    ERROR    game    An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.NPC.updateMovement(GameLocation location, GameTime time) in stardewvalley\Farmer\Farmer\NPC.cs:line 2678
   at StardewValley.Character.update(GameTime time, GameLocation location, Int64 id, Boolean move) in stardewvalley\Farmer\Farmer\Character.cs:line 1223

23:16:45    TRACE    Stardew Valley Expanded    [AntiSocial] Overriding CanSocialize for HankSVE
23:16:45    TRACE    game    Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:1920 Height:1080}
23:16:59    ERROR    game    An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.NPC.updateMovement(GameLocation location, GameTime time) in stardewvalley\Farmer\Farmer\NPC.cs:line 2678
   at StardewValley.Character.update(GameTime time, GameLocation location, Int64 id, Boolean move) in stardewvalley\Farmer\Farmer\Character.cs:line 1223
 
Thanks for the reply!

I don't know what to do to fix this

should I reinstall the mods? game runs without crash.
No prob.
Unfortunately it's vague on the exact NPC in question. Since it's not crashing; you can ignore it; or forward it to the SDV Expanded mod page.
Maybe they'll be able to troubleshoot further.
 
Top