View Issue Details

IDProjectCategoryLast Update
0027014AI War 2Crash/ExceptionApr 19, 2022 9:56 am
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version4.023 Beacon Expansiveness 
Fixed in Version4.024 Graveyard Digger 
Summary0027014: Game Command Back in the pool for reset-to-defaults
DescriptionI was resetting a multi-faction spectator game to defaults in the game lobby. I hit these errors on reset-to-defaults

4/17/2022 11:38:47 AM 4.022 SINGLEP Error! Called RelatedIntegers on game command 6, which was already back in the pool!
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:415
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00069] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:246
  at Arcen.AIW2.Core.GameCommand.get_RelatedIntegers () [0x0008e] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:648
  at Arcen.AIW2.External.GameCommand_SetupOnly_RequestSetupChanges.StartingIndexChanges (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context, System.Boolean IsForDuringGame, System.Boolean FromAutoAssignInMapgen) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.External.GameCommand_SetupOnly_RequestSetupChanges.HandleCommand (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context, System.Boolean IsForDuringGame) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.External.GameCommand_SetupOnly_RequestSetupChanges.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00061] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:1355
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001ad] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:4192
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00295] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1508
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x005da] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1470
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x000ea] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/OutsideAPIs/ArcenGameControllerBase.cs:94
  at ArcenGameController.Update () [0x00000] in <37480ea94fbe44d48f5ee03d59378c32>:0

4/17/2022 11:38:47 AM 4.022 SINGLEP Error! Called TypeData 6, which was already back in the pool!
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:415
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00069] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:246
  at Arcen.AIW2.Core.GameCommand.get_TypeData () [0x0008e] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:52
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0007f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:1359
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001ad] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:4192
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00295] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1508
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x005da] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1470
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x000ea] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/OutsideAPIs/ArcenGameControllerBase.cs:94
  at ArcenGameController.Update () [0x00000] in <37480ea94fbe44d48f5ee03d59378c32>:0

4/17/2022 11:38:47 AM 4.022 SINGLEP ProcessCoreLogicForArbitraryFrameOnMainThread exception at debugStage 1400, exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0007f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:1359
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_ExecuteGameCommandsThatWereScheduled (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001ad] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:4192
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x000ec] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:415
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00069] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:246
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <3d6b65c0d7a74019b5a9bd4a5430eebe>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00295] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1508
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x005da] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1470
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x000ea] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/OutsideAPIs/ArcenGameControllerBase.cs:94
  at ArcenGameController.Update () [0x00000] in <37480ea94fbe44d48f5ee03d59378c32>:0
TagsNo tags attached.

Activities

BadgerBadger

Apr 18, 2022 12:28 am

manager   ~0066113

I'm stickying this in case it's useful to you in figuring out something else. I've only seen this once so it's not game breaking

Chris_McElligottPark

Apr 19, 2022 9:52 am

administrator   ~0066130

So, the core of this issue is just a false warning, really.

Essentially, there were some things in the pipeline during the harsh reset to defaults event, which caused everything to go back into the pool. Once they came out of the pipeline, they discovered that they'd already bene put back in the pool, and thus have issues.

Really what needs to happen is these need to simply be ignored if they are in the lobby, I think.

Chris_McElligottPark

Apr 19, 2022 9:56 am

administrator   ~0066131

Thanks!

* Hitting reset to defaults in the lobby should now no longer be able to throw exceptions related to game commands being back in the pool. The errors were spurious in the first place.

Issue History

Date Modified Username Field Change
Apr 17, 2022 1:40 pm BadgerBadger New Issue
Apr 17, 2022 1:40 pm BadgerBadger Status new => assigned
Apr 17, 2022 1:40 pm BadgerBadger Assigned To => Chris_McElligottPark
Apr 18, 2022 12:28 am BadgerBadger Sticky Issue No => Yes
Apr 18, 2022 12:28 am BadgerBadger Note Added: 0066113
Apr 19, 2022 9:52 am Chris_McElligottPark Note Added: 0066130
Apr 19, 2022 9:56 am Chris_McElligottPark Status assigned => resolved
Apr 19, 2022 9:56 am Chris_McElligottPark Resolution open => fixed
Apr 19, 2022 9:56 am Chris_McElligottPark Fixed in Version => 4.024 Graveyard Digger
Apr 19, 2022 9:56 am Chris_McElligottPark Note Added: 0066131
Apr 19, 2022 9:56 am Chris_McElligottPark Sticky Issue Yes => No