Jump to content

Game crashes w/ index out of bounds after destroying Spacefarer Module full of critters


PedroS123
  • Branch: Preview Branch Version: Windows Fixed

FYI this is probably not the top priority bug out there.

I had this abandoned rocket that was taken over by maybe a couple dozen Morbs, and when I tried destroying the spacefarer module the destroy action succeeds, but then the Morbs all fall to the ground and as a result the game consistently crashes with error:

IndexOutOfRangeException: Index was outside the bounds of the array.

MinionGroupProber.IsReachable_AssumeLock (System.Int32 cell) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Minions/MinionGroupProber.cs:46)
MinionGroupProber.IsAllReachable (System.Int32 cell, CellOffset[] offsets) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Minions/MinionGroupProber.cs:121)
ReachabilityMonitor+Instance.UpdateReachability () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/components/ReachabilityMonitor.cs:62)
ReachabilityMonitor+UpdateReachabilityCB.Update (ReachabilityMonitor+Instance smi, System.Single dt) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/components/ReachabilityMonitor.cs:13)
UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater.AdvanceOneSimSubTick () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game.SimEveryTick (System.Single dt) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Game.cs:1372)
Game.Update () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Game.cs:1348)

Build: U39-489642-S

It looks like a problem with a bunch of critters falling at the same time, which maybe was always around but becomes more possible with the Spaced Out rockets, or maybe it's something else. Regardless, the save below can consistently reproduce it.

Killing the Morbs before destroying the module works as expected, so again not necessarily a big deal.


Steps to Reproduce

Open save file.

Go to Coldino and destroy The Daring Rover VI spacefarer module

Destroy action works, but when critters fall in the flow the game crashes

The Chaotic Utopia (BACKUP) Cycle 1028.sav

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...