Skip to content

Instantly share code, notes, and snippets.

@jawsawn
Created April 24, 2018 22:08
Show Gist options
  • Save jawsawn/92a16290e2c495c6ea18a06c4ac4ec68 to your computer and use it in GitHub Desktop.
Save jawsawn/92a16290e2c495c6ea18a06c4ac4ec68 to your computer and use it in GitHub Desktop.
[SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
[SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
[SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
[SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
[SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
[SMAPI] An error occured in the base update loop: System.NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.AnimatedSprite.animateOnce(GameTime time)
at StardewValley.NPC.update(GameTime time, GameLocation location)
at StardewValley.Characters.Cat.update(GameTime time, GameLocation location)
at StardewValley.GameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean ignoreWasUpdatedFlush)
at StardewValley.Locations.BuildableGameLocation.updateEvenIfFarmerIsntHere(GameTime time, Boolean skipWasUpdatedFlush)
at StardewValley.Farm.updateEvenIfFarmerIsntHere(GameTime time, Boolean skipWasUpdatedFlush)
at StardewValley.Game1.UpdateLocations(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 594
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment