View Issue Details

IDProjectCategoryLast Update
0019644AI War 2Bug - GameplayJun 29, 2018 10:33 am
ReporterOvalcircle Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.745 A Pivot And A Leap Forward 
Fixed in Version0.746 Disposing of the Invisible Man 
Summary0019644: Hit some sort of stack trace error
DescriptionI sent my forces through a wormhole using the planet view. It froze, then when I moved my view to the planet I sent my ships to, a debug error log popped up. The glitch was that (as you can see in the picture), my ships appeared on two different sides of the planet. They should have exited the wormhole on the bottom left.
TagsNo tags attached.

Activities

Ovalcircle

Jun 28, 2018 10:02 pm

reporter  

AI War 2 Pivot Glitch.jpg (136,292 bytes)   
AI War 2 Pivot Glitch.jpg (136,292 bytes)   
ArcenDebugLog.txt (722,898 bytes)
glitch.save (4,605,005 bytes)
glitch.savemet (51 bytes)

BadgerBadger

Jun 28, 2018 10:28 pm

manager   ~0047617

Relevant stack traceback:
6/28/2018 9:55:32 PM
: -----------
Exception when checking for sim step: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.GameCommand_SetWormholePath+<>c__DisplayClass0_0.<Execute>b__0 (Arcen.AIW2.Core.GameEntity entity) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.GameCommand.DoForRelatedEntities (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0003a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Networking\GameCommand.cs:157
  at Arcen.AIW2.External.GameCommand_SetWormholePath.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenSimContext Context) [0x00060] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Networking\GameCommand.cs:143
  at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenSimContext Context) [0x000b1] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:639
  at Arcen.AIW2.Core.Engine_AIW2.ProcessSimStep (System.Boolean& stalledWaitingOnConnections) [0x00784] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Engine_AIW2.cs:770
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00212] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Engine_Universal.cs:1070
Stack Trace: at Arcen.AIW2.External.GameCommand_SetWormholePath+<>c__DisplayClass0_0.<Execute>b__0 (Arcen.AIW2.Core.GameEntity entity) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.GameCommand.DoForRelatedEntities (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0003a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Networking\GameCommand.cs:157
  at Arcen.AIW2.External.GameCommand_SetWormholePath.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenSimContext Context) [0x00060] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Networking\GameCommand.cs:143
  at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenSimContext Context) [0x000b1] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:639
  at Arcen.AIW2.Core.Engine_AIW2.ProcessSimStep (System.Boolean& stalledWaitingOnConnections) [0x00784] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Engine_AIW2.cs:770
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00212] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Engine_Universal.cs:1070

Looks like we are trying to give orders to a unit that no longer exists

Chris_McElligottPark

Jun 29, 2018 10:33 am

administrator   ~0047625

Thanks!

* Put in a variety of protections against exceptions that could happen due to units no longer existing or being removed from any planet (aka the game) but having orders queued up for them and executed later.

Issue History

Date Modified Username Field Change
Jun 28, 2018 10:02 pm Ovalcircle New Issue
Jun 28, 2018 10:02 pm Ovalcircle File Added: AI War 2 Pivot Glitch.jpg
Jun 28, 2018 10:02 pm Ovalcircle File Added: ArcenDebugLog.txt
Jun 28, 2018 10:02 pm Ovalcircle File Added: glitch.save
Jun 28, 2018 10:02 pm Ovalcircle File Added: glitch.savemet
Jun 28, 2018 10:05 pm Ovalcircle Description Updated
Jun 28, 2018 10:28 pm BadgerBadger Note Added: 0047617
Jun 29, 2018 10:33 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jun 29, 2018 10:33 am Chris_McElligottPark Status new => resolved
Jun 29, 2018 10:33 am Chris_McElligottPark Resolution open => fixed
Jun 29, 2018 10:33 am Chris_McElligottPark Fixed in Version => 0.746 Disposing of the Invisible Man
Jun 29, 2018 10:33 am Chris_McElligottPark Note Added: 0047625