View Issue Details

IDProjectCategoryLast Update
0019127AI War 2Crash/ExceptionMay 30, 2017 11:34 am
ReporterChris_McElligottPark Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.300 - Welcome Early Access Kickstarter Backers! 
Fixed in Version0.301 The New HDR Visual Stack 
Summary0019127: Exceptions when canceling out of the lobby to the main menu.
DescriptionError in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameEntity.ReevaluateAIOrders (Arcen.AIW2.Core.ArcenSimContext Context) [0x00035] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1703
  at Arcen.AIW2.Core.World_AIW2+<DoWorldStepLogic>c__AnonStorey0.<>m__1 (Arcen.AIW2.Core.GameEntity entity) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:256
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00067] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:308
  at Arcen.AIW2.Core.World_AIW2.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00027] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:384
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0016d] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:254
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27

   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 D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 118
   at Arcen.Universal.ArcenDebugging.ArcenDebugLogSingleLine(System.String Message, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 104
   at Arcen.AIW2.Core.SimExecution.Execute() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:line 31
   at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 80
   at Arcen.AIW2.Core.ArcenExecutionContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 221
UnityEngine.Debug:Log(Object)
Arcen.Universal.ArcenDebugging:ArcenDebugLog(String, DebugLogDestination, Boolean, Verbosity) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:118)
Arcen.Universal.ArcenDebugging:ArcenDebugLogSingleLine(String, Verbosity) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:104)
Arcen.AIW2.Core.SimExecution:Execute() (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Sim/SimExecution/SimExecution.cs:31)
Arcen.AIW2.Core.ArcenSimPlanningContext:InnerRun() (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Sim/SimPlanningLoop.cs:80)
Arcen.AIW2.Core.ArcenExecutionContext:InnerRun() (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Sim/SimPlanningLoop.cs:221)

and then:

Error occurred in sim planning context executionContext
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.SyncInformation.Create () [0x0017d] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Networking\SyncInformation.cs:57
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00082] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:35
  at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x0002d] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:80

   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 D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 118
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 109
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 89
   at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 84
   at Arcen.AIW2.Core.ArcenExecutionContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 221
UnityEngine.Debug:Log(Object)
Arcen.Universal.ArcenDebugging:ArcenDebugLog(String, DebugLogDestination, Boolean, Verbosity) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:118)
Arcen.Universal.ArcenDebugging:ArcenDebugLog(String, DebugLogDestination, Verbosity) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:109)
Arcen.Universal.ArcenDebugging:ArcenDebugLog(String, Verbosity) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:89)
Arcen.AIW2.Core.ArcenSimPlanningContext:InnerRun() (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Sim/SimPlanningLoop.cs:84)
Arcen.AIW2.Core.ArcenExecutionContext:InnerRun() (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Sim/SimPlanningLoop.cs:221)
TagsNo tags attached.

Activities

keith.lamothe

May 30, 2017 11:34 am

administrator   ~0046228

* Reworked the "Quit Game" button on the master menu to no longer be a "immediately chuck the gamestate into the grinder" function, but rather "tell the game that once it's done executing the current sim frame to close the gamestate". This avoids various race-condition null exceptions when quitting while the sim threads are going.

Issue History

Date Modified Username Field Change
May 26, 2017 4:55 pm Chris_McElligottPark New Issue
May 26, 2017 4:55 pm Chris_McElligottPark Status new => assigned
May 26, 2017 4:55 pm Chris_McElligottPark Assigned To => keith.lamothe
May 30, 2017 11:34 am keith.lamothe Note Added: 0046228
May 30, 2017 11:34 am keith.lamothe Status assigned => resolved
May 30, 2017 11:34 am keith.lamothe Fixed in Version => 0.301 The New HDR Visual Stack
May 30, 2017 11:34 am keith.lamothe Resolution open => fixed