View Issue Details

IDProjectCategoryLast Update
0024464AI War 2Crash/ExceptionFeb 22, 2021 7:50 pm
ReporterZweihand Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.744 Scourge Industries, Inc 
Fixed in VersionBeta 2.745 The Unsmothering 
Summary0024464: Exception error during gameplay, seems to be about simulated unit/squad speed.
DescriptionError log dump:

2.744 SINGLEP Squad CalculateSpeed exception at debugStage 3200, exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
  at System.Collections.Generic.Dictionary`2+Enumerator[TKey,TValue].MoveNext () [0x00016] in <9577ac7a62ef43179789031239ba8798>:0
  at Arcen.AIW2.Core.SpeedGroup.CalculateCurrentSpeedLimit_SimpleNPCAIStyle () [0x0008d] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.SpeedGroup.CalculateUnitSpeedLimits () [0x00014] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.SpeedGroup.RemoveEntity (Arcen.AIW2.Core.GameEntity_Squad Entity) [0x0003d] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x000c1] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <6330742ff9a24c7fad0e8f3ae676c767>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6330742ff9a24c7fad0e8f3ae676c767>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6330742ff9a24c7fad0e8f3ae676c767>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6330742ff9a24c7fad0e8f3ae676c767>:0
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DoEntityStepLogic_Ship (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass38_0.<DoCombatStepForPlanet>b__2 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass53_0.<DoCombatPerStepLogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <45c4b37ce7aa417495de7f8a02c0b11a>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatPerStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <ca49a082a48e4b06b626c3faa4efae1e>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0

On another issue, the automated energy juggle completely fails at 5x simulation at times and keeps you in a perpetual brownout. Hilarious but game costing for players who like to play at higher simulation speeds (I like to play on 5x tbh).
TagsNo tags attached.

Activities

Chris_McElligottPark

Feb 22, 2021 7:50 pm

administrator   ~0060601

Thank you!

* Fixed an issue with speed groups that could cause various inefficiencies, as well as also errors in multiplayer and now in single player, too. Not sure if this fixed the multiplayer sync problem with speed groups, but it does at least fix the single player one and the inefficiencies.

Issue History

Date Modified Username Field Change
Feb 22, 2021 6:20 am Zweihand New Issue
Feb 22, 2021 7:50 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 22, 2021 7:50 pm Chris_McElligottPark Status new => resolved
Feb 22, 2021 7:50 pm Chris_McElligottPark Resolution open => fixed
Feb 22, 2021 7:50 pm Chris_McElligottPark Fixed in Version => Beta 2.745 The Unsmothering
Feb 22, 2021 7:50 pm Chris_McElligottPark Note Added: 0060601