View Issue Details

IDProjectCategoryLast Update
0023458AI War 2Crash/ExceptionJul 24, 2020 12:27 am
ReporterGreatYng Assigned To 
Status newResolutionopen 
Product Version2.105 Selection Hotfix 
Summary0023458: Anti AI Zombie Error
DescriptionIt didn't seem to impact the game in any way, but it happened. I attached the relevant log and the save I made directly after it happened.
TagsNo tags attached.

Activities

GreatYng

Jul 23, 2020 6:28 pm

reporter  

Midden 10b.save (860,414 bytes)
ZombieError.txt (5,587 bytes)   
7/23/2020 7:06:30 PM	specialFactionContext_37_AntiAIZombie Error: System.ArgumentException: length
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000c3] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Collections.Generic.Queue`1[T].SetCapacity (System.Int32 capacity) [0x0001e] in <c9226b2f33b7421e85bb391f94075e49>:0 
  at System.Collections.Generic.Queue`1[T].Enqueue (T item) [0x0003e] in <c9226b2f33b7421e85bb391f94075e49>:0 
  at Arcen.AIW2.Core.World_AIW2.QueueGameCommand (Arcen.AIW2.Core.GameCommand Command, System.Boolean ShouldAllowLocalAudioOrVisualReactionToThis) [0x0008e] in <a41cc2ea19a54cb58cc3478986c396dc>:0 
  at Arcen.AIW2.External.BadgerFactionUtilityMethods.patrolPlanetHelper (System.Collections.Generic.List`1[T] pointsToPatrol, System.Collections.Generic.List`1[T] entityList, System.Int32 startEntityList, System.Int32 endEntityList, Arcen.AIW2.Core.ArcenSimContext Context) [0x00096] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.BadgerFactionUtilityMethods.patrolPlanet (System.Collections.Generic.List`1[T] entityList, Arcen.AIW2.Core.ArcenSimContext Context, System.Int32 patrolDistance) [0x000cb] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.SpecialFaction_AntiAIZombie.DoLongRangePlanning_OnBackgroundNonSimThread_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext Context) [0x00303] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning_OnBackgroundNonSimThread (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ILongRangePlanningContext Context) [0x00076] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.SpecialFactionPlanning.Execute () [0x00077] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
7/23/2020 7:06:30 PM
Error occurred in sim planning context specialFactionContext_37_AntiAIZombie
ArgumentException
length
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	Copy	195	1658	0	0
	SetCapacity	30	170	0	0
	Enqueue	62	146	0	0
	QueueGameCommand	142	362	0	0
	OnSetWorkDone	48	266	0	0
	SetWorkDone	41	119	0	0
	Execute	235	906	0	0
	InnerRun	64	213	0	0
===RAW STACK TRACE===
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000c3] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Collections.Generic.Queue`1[T].SetCapacity (System.Int32 capacity) [0x0001e] in <c9226b2f33b7421e85bb391f94075e49>:0 
  at System.Collections.Generic.Queue`1[T].Enqueue (T item) [0x0003e] in <c9226b2f33b7421e85bb391f94075e49>:0 
  at Arcen.AIW2.Core.World_AIW2.QueueGameCommand (Arcen.AIW2.Core.GameCommand Command, System.Boolean ShouldAllowLocalAudioOrVisualReactionToThis) [0x0008e] in <a41cc2ea19a54cb58cc3478986c396dc>:0 
  at Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext.OnSetWorkDone (System.Boolean WasAlreadyDone) [0x00030] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.SetWorkDone () [0x00029] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.SpecialFactionPlanning.Execute () [0x000eb] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00040] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <80187922c10b4abea95461ef4430f38a>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <80187922c10b4abea95461ef4430f38a>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <80187922c10b4abea95461ef4430f38a>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <80187922c10b4abea95461ef4430f38a>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <d5ef3c726c0d4a8e959766005f7cc0d4>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
ZombieError.txt (5,587 bytes)   

BadgerBadger

Jul 24, 2020 12:27 am

manager   ~0057826

Chris, this looks like a change to the GameComand data structures triggering this, rather than a zombie specific problem

Issue History

Date Modified Username Field Change
Jul 23, 2020 6:28 pm GreatYng New Issue
Jul 23, 2020 6:28 pm GreatYng File Added: Midden 10b.save
Jul 23, 2020 6:28 pm GreatYng File Added: ZombieError.txt
Jul 24, 2020 12:27 am BadgerBadger Note Added: 0057826