Issue Issue when baby born in the coop

yuchanx3

Cowpoke
Hope my english is OK.
I have this error when I go to the Coop and a baby is born, I have to name it and when I click on "ok" I have this error and I can't play anymore :

[game] An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.Character.Halt() in stardewvalley\Farmer\Farmer\Character.cs:line 381
at StardewValley.FarmAnimal.StopAllActions() in stardewvalley\Farmer\Farmer\FarmAnimals\FarmAnimal.cs:line 714
at StardewValley.FarmAnimal.setRandomPosition(GameLocation location) in stardewvalley\Farmer\Farmer\FarmAnimals\FarmAnimal.cs:line 684
at StardewValley.AnimalHouse.addNewHatchedAnimal(String name) in stardewvalley\Farmer\Farmer\Locations\AnimalHouse.cs:line 263
at StardewValley.Event.<command_animalNaming>b__83_0(String animal_name) in stardewvalley\Farmer\Farmer\Event.Commands.cs:line 1583
at StardewValley.Menus.NamingMenu.textBoxEnter(TextBox sender) in stardewvalley\Farmer\Farmer\Menus\NamingMenu.cs:line 91
at StardewValley.Menus.NamingMenu.receiveLeftClick(Int32 x, Int32 y, Boolean playSound) in stardewvalley\Farmer\Farmer\Menus\NamingMenu.cs:line 159
at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 5473
at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4807
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 1089

I'm used to dealing with mod error, but I can't see what is the problem here, please help me !
Full log : https://smapi.io/log/d88dc6cd8cd34217bc70f203471cf419
(there is an error with museum expansion, it comes and goes so I don't think it's related...)
 
Last edited:

UlyanaLeyana

Planter
Hope my english is OK.
I have this error when I go to the Coop and a baby is born, I have to name it and when I click on "ok" I have this error and I can't play anymore :

[game] An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.Character.Halt() in stardewvalley\Farmer\Farmer\Character.cs:line 381
at StardewValley.FarmAnimal.StopAllActions() in stardewvalley\Farmer\Farmer\FarmAnimals\FarmAnimal.cs:line 714
at StardewValley.FarmAnimal.setRandomPosition(GameLocation location) in stardewvalley\Farmer\Farmer\FarmAnimals\FarmAnimal.cs:line 684
at StardewValley.AnimalHouse.addNewHatchedAnimal(String name) in stardewvalley\Farmer\Farmer\Locations\AnimalHouse.cs:line 263
at StardewValley.Event.<command_animalNaming>b__83_0(String animal_name) in stardewvalley\Farmer\Farmer\Event.Commands.cs:line 1583
at StardewValley.Menus.NamingMenu.textBoxEnter(TextBox sender) in stardewvalley\Farmer\Farmer\Menus\NamingMenu.cs:line 91
at StardewValley.Menus.NamingMenu.receiveLeftClick(Int32 x, Int32 y, Boolean playSound) in stardewvalley\Farmer\Farmer\Menus\NamingMenu.cs:line 159
at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 5473
at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4807
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 1089

I'm used to dealing with mod error, but I can't see what is the problem here, please help me !
Full log : https://smapi.io/log/d88dc6cd8cd34217bc70f203471cf419
(there is an error with museum expansion, it comes and goes so I don't think it's related...)
Make sure you upload the log file, not the console text.
Please go here and follow the instructions there to upload your full SMAPI log.
 
Top