View Issue Details

IDProjectCategoryLast Update
0019261AI War 2Crash/ExceptionOct 24, 2017 10:01 am
ReporterBadgerBadger Assigned Tokeith.lamothe  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.528 
Fixed in Version0.600 Tutorial Engine 
Summary0019261: Crash: argument out of range in DoWorldStep
DescriptionI was playing a messy game with both the Devourer and the Nanocaust to test some new logic. I hit a crash here:

10/23/2017 4:09:19 PM Error in thread for execution context 'executionContext':System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[System.Int64].get_Item (Int32 index) [0x00024] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:635
  at Arcen.AIW2.Core.GameEntity.GetIsSelected () [0x00015] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:2584
  at Arcen.AIW2.Core.GameEntity.Select (Boolean IsFromActiveSelectionTriggering) [0x00002] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:2565
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0053b] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:389
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27

This doesn't look like it's in external code, so I'm opening this up against y'all.
TagsNo tags attached.

Activities

keith.lamothe

Oct 24, 2017 10:01 am

administrator   ~0046527

For 0.529:

* Refactored how the automatic-selection-changes happen (so when you have a control group selected and a new ship is added to that control group, it is also added to your selection, etc) to avoid some race conditions that could cause index-out-of-bounds errors.

Thanks :)

Issue History

Date Modified Username Field Change
Oct 23, 2017 4:10 pm BadgerBadger New Issue
Oct 24, 2017 10:01 am keith.lamothe Assigned To => keith.lamothe
Oct 24, 2017 10:01 am keith.lamothe Status new => resolved
Oct 24, 2017 10:01 am keith.lamothe Resolution open => fixed
Oct 24, 2017 10:01 am keith.lamothe Fixed in Version => 0.600 Tutorial Engine
Oct 24, 2017 10:01 am keith.lamothe Note Added: 0046527