View Issue Details

IDProjectCategoryLast Update
0024625AI War 2Crash/ExceptionMar 30, 2021 2:48 pm
ReporterZweihand Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.764 Command Station Hotfix 
Fixed in VersionBeta 2.765 The Hunt For Frigates And Civilians 
Summary0024625: Faction Crashed.
DescriptionA faction crashed. Have no idea what happened. Here is the save where it happened plus log.

3/27/2021 11:11:16 PM 2.764 SINGLEP Exception in DoPerSimStepLogic_OnMainThreadAndPartOfSim for faction TEST(Index 1), so will not run any more of those until a reload of the save.
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 (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <9577ac7a62ef43179789031239ba8798>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Arcen.AIW2.Core.GameEntity_Squad.GetDestinationPlanet (Arcen.AIW2.Core.ProjectedMultiPathData newLookup) [0x000c4] in <b94cbedd712f4d2e86b6547ccbfc8faa>:0
  at Arcen.AIW2.External.SpecialFaction_Human+<>c__DisplayClass89_0.<NonSim_PopulatePathToCurrentHoverPlanet>b__0 (Arcen.AIW2.Core.GameEntity_Squad selected) [0x00028] in <530e5f0408bb463da28b713b904d5d16>:0
  at Arcen.AIW2.Core.Engine_AIW2.DoForSelected (Arcen.AIW2.Core.SelectionCommandScope Scope, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00129] in <b94cbedd712f4d2e86b6547ccbfc8faa>:0
  at Arcen.AIW2.External.SpecialFaction_Human.NonSim_PopulatePathToCurrentHoverPlanet (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ProjectedMultiPathData newLookup, System.Boolean additiveSelection, Arcen.AIW2.Core.ArcenSimContext Context) [0x00069] in <530e5f0408bb463da28b713b904d5d16>:0
  at Arcen.AIW2.External.SpecialFaction_Human.DoPerSimStepLogic_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x00076] in <530e5f0408bb463da28b713b904d5d16>:0
  at Arcen.AIW2.Core.Faction.Safe_DoPerSimStepLogic_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.ArcenSimContext Context) [0x00024] in <b94cbedd712f4d2e86b6547ccbfc8faa>:0
3/27/2021 11:11:16 PM 2.764 SINGLEP Unknown Exception in DoPerSimStepLogic_OnMainThreadAndPartOfSim for faction TEST(Index 1), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception.
TagsNo tags attached.

Relationships

related to 0024612 resolvedChris_McElligottPark ArgumentOutOfRangeException - moving across systems 

Activities

Zweihand

Mar 28, 2021 2:14 am

reporter  

Faction Crashed.save (1,048,703 bytes)

BadgerBadger

Mar 28, 2021 9:54 am

manager   ~0060946

Did you have nomads on?

Zweihand

Mar 28, 2021 3:39 pm

reporter   ~0060949

Nomads are not on

Chris_McElligottPark

Mar 30, 2021 2:48 pm

administrator   ~0060969

Thanks!

* Fixed a couple of places in the squad class where cross-threading issues could crop up with index out of range exceptions looking at unit orders. The side benefit of this is that it also makes this code a bit faster to run, because fewer array indices are happening.

Issue History

Date Modified Username Field Change
Mar 28, 2021 2:14 am Zweihand New Issue
Mar 28, 2021 2:14 am Zweihand File Added: Faction Crashed.save
Mar 28, 2021 9:54 am BadgerBadger Note Added: 0060946
Mar 28, 2021 2:55 pm Sigma7 Relationship added related to 0024612
Mar 28, 2021 3:39 pm Zweihand Note Added: 0060949
Mar 30, 2021 2:48 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 30, 2021 2:48 pm Chris_McElligottPark Status new => resolved
Mar 30, 2021 2:48 pm Chris_McElligottPark Resolution open => fixed
Mar 30, 2021 2:48 pm Chris_McElligottPark Fixed in Version => Beta 2.765 The Hunt For Frigates And Civilians
Mar 30, 2021 2:48 pm Chris_McElligottPark Note Added: 0060969