View Issue Details

IDProjectCategoryLast Update
0019253AI War 2Crash/ExceptionOct 24, 2017 9:41 am
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.525 
Fixed in Version0.600 Tutorial Engine 
Summary0019253: Crash during assault sorter
DescriptionI turned on the Assault target for my control group and attacked an enemy planet. I hit a crash:

10/12/2017 10:25:57 PM
Error occurred in sim planning context targetingContext
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.TargetSorter_Assault.DoPreSortLogic (Arcen.AIW2.Core.EntitySystem Weapon, System.Collections.Generic.List`1 Targets, Arcen.Universal.ArcenCharacterBuffer TracingBuffer, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.TargetPlanning.FindTarget (Arcen.AIW2.Core.EntitySystem system, System.Collections.Generic.List`1 ListToAddTo, Int32 MaxItemsToAdd) [0x0053b] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\ShortTerm\TargetPlanning.cs:270
  at Arcen.AIW2.Core.TargetPlanning.DoEntityFramePlanningLogic_Targeting (Arcen.AIW2.Core.GameEntity entity) [0x0021e] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\ShortTerm\TargetPlanning.cs:99
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00067] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:340
  at Arcen.AIW2.Core.TargetPlanning.Execute () [0x00097] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\ShortTerm\TargetPlanning.cs:31
  at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x0002d] in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:82

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 140
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 109
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 88
   at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 86
   at Arcen.AIW2.Core.ArcenShortTermPlanningContext.InnerRun() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 365
TagsNo tags attached.

Activities

keith.lamothe

Oct 24, 2017 9:41 am

administrator   ~0046525

For 0.529:

* Fixed a null exception in the Assault targeting logic.

Thanks :)

Issue History

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