Jump to content

IndexOutOfRangeException at PathFinder.AddPotentials


pether
  • Branch: Live Branch Version: Windows Fixed

I started ONI and loaded my recent save. When loaded and unpaused, the game crashed with following exception:

Spoiler

System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at PathFinder.AddPotentials (PathFinder+PotentialScratchPad potential_scratch_pad, PathFinder+PotentialPath potential, System.Int32 cost, System.Int32 underwater_cost, PathFinderAbilities& abilities, PathFinderQuery query, System.Int32 max_links_per_cell, NavGrid+Link[] links, PathFinder+PotentialList potentials, PathGrid path_grid, System.Int32 parent_cell, NavType parent_nav_type) [0x00014] in <84ec5be14c67406292956d199a0bec75>:0 
  at PathProber.UpdateProbe (NavGrid nav_grid, System.Int32 cell, NavType nav_type, PathFinderAbilities abilities, PathFinder+PotentialPath+Flags flags) [0x00111] in <84ec5be14c67406292956d199a0bec75>:0 
  at Navigator+PathProbeTask.Run (System.Object sharedData) [0x00016] in <84ec5be14c67406292956d199a0bec75>:0 
  at WorkItemCollection`2[WorkItemType,SharedDataType].InternalDoWorkItem (System.Int32 work_item_idx) [0x0000d] in <158cd7482f89497392ec5a6ce92a5144>:0 
  at JobManager.DoNextWorkItem () [0x0001a] in <158cd7482f89497392ec5a6ce92a5144>:0 
  at JobManager+WorkerThread.Run () [0x0001e] in <158cd7482f89497392ec5a6ce92a5144>:0 
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at PathFinder.AddPotentials (PathFinder+PotentialScratchPad potential_scratch_pad, PathFinder+PotentialPath potential, System.Int32 cost, System.Int32 underwater_cost, PathFinderAbilities& abilities, PathFinderQuery query, System.Int32 max_links_per_cell, NavGrid+Link[] links, PathFinder+PotentialList potentials, PathGrid path_grid, System.Int32 parent_cell, NavType parent_nav_type) [0x00014] in <84ec5be14c67406292956d199a0bec75>:0 
  at PathProber.UpdateProbe (NavGrid nav_grid, System.Int32 cell, NavType nav_type, PathFinderAbilities abilities, PathFinder+PotentialPath+Flags flags) [0x00111] in <84ec5be14c67406292956d199a0bec75>:0 
  at Navigator+PathProbeTask.Run (System.Object sharedData) [0x00016] in <84ec5be14c67406292956d199a0bec75>:0 
  at WorkItemCollection`2[WorkItemType,SharedDataType].InternalDoWorkItem (System.Int32 work_item_idx) [0x0000d] in <158cd7482f89497392ec5a6ce92a5144>:0 
  at JobManager.DoNextWorkItem () [0x0001a] in <158cd7482f89497392ec5a6ce92a5144>:0 
  at JobManager+WorkerThread.Run () [0x0001e] in <158cd7482f89497392ec5a6ce92a5144>:0 

I currently have duplicants on 3 asteroids with Printing Pods + 2 pilots in the rocket. (update: happens also when there are no dupes in space)

Adding my save and player.log


Steps to Reproduce

1. Load big save (my was around cycle 1200)

2. Once in a while the game crashes (update: 100% reproduction for attached save file, as well as saves from the previous cycles)




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...