View Issue Details

IDProjectCategoryLast Update
0025790AI War 2Crash/ExceptionNov 8, 2021 4:38 pm
ReporterRocketAssistedPuffin Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.746 Phantom Ship Syndrome 
Fixed in VersionBeta 3.750 Smooth Simulator 
Summary0025790: SINGLEP DELAYED12: DoLongTermPlanning_MassivelyParallelThreads: System.Threading.ThreadStateException: Thread has already been
DescriptionThis is a modified game - doing some things for Badger, but is only simple XML with no errors on loading.

Necromancer, Templar, Elderling and Sappers were enabled. Almost nothing occurred in-game.

Of note is that the game, paused, at only 14s in, was consistently hovering around 50+% of my CPU, and upon attempting to shut down the game, froze my PC entirely with sound cutting out until it recovered.

3.746 SINGLEP DELAYED12: DoLongTermPlanning_MassivelyParallelThreads: System.Threading.ThreadStateException: Thread has already been started.
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal(System.Threading.Thread,System.MulticastDelegate)
  at System.Threading.Thread.StartInternal (System.Security.Principal.IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x0001a] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Thread.Start () [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.AIW2.External.ArcenThread.Start (System.Boolean FailSilentlyIfNotFinishedYet) [0x0011e] in <1d02151d521d48758bd63a7914b5383f>:0
  at Arcen.AIW2.External.ArcenThreadManager.StartExistingThreadWithNewCosmeticName (Arcen.AIW2.External.IThreadStatusChecker StatusChecker, System.String CosmeticName, System.Boolean FailSilentlyIfNotFinishedYet) [0x0001a] in <1d02151d521d48758bd63a7914b5383f>:0
  at Arcen.AIW2.External.ArcenHostOnlySimPlanningContext.RunOnBackgroundThread (System.Boolean FailSilentlyIfNotFinishedYet) [0x0003d] in <1d02151d521d48758bd63a7914b5383f>:0
  at Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext.Helper_CheckForRunningFactionThread_Parallel (System.Boolean mayLaunchAnyThread, System.Int16 factionIndex) [0x00299] in <137b78ebc7d9421db004e67c75ec0670>:0
  at Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext.DoLongTermPlanning_MassivelyParallelThreads () [0x00056] in <137b78ebc7d9421db004e67c75ec0670>:0
TagsNo tags attached.

Activities

RocketAssistedPuffin

Nov 7, 2021 9:50 am

reporter   ~0063239

Log, but it seems to mainly contain other already reported errors minus the one above.

RocketAssistedPuffin

Nov 7, 2021 9:52 am

reporter   ~0063240

Attempting again to attach log...
ArcenDebugLog.txt (184,034 bytes)   
11/7/2021 2:39:53 PM	SINGLEP	Current directory used: D:/Steam/steamapps/common/AI War 2/
Process Count = 0 so PlayerDataDirectory used: D:/Steam/steamapps/common/AI War 2/PlayerData/
11/7/2021 2:39:53 PM	SINGLEP	Boot up FleetOS (0.4480s)
11/7/2021 2:39:54 PM	SINGLEP	graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.0]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 8.1  (6.3.0) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 750 Ti
graphicsDeviceID: 4992
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.0]
graphicsMemorySize: 1968
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
processorCount: 4
processorFrequency: 3193
systemMemorySize: 8144
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
11/7/2021 2:39:54 PM	SINGLEP	Check System Logs For Rogue Intelligence (0.7804s)
11/7/2021 2:39:54 PM	SINGLEP	Inspect Aft Hatches (0.3483s)
11/7/2021 2:39:54 PM	SINGLEP	Found 474 xml files in 123 folders in 43ms
11/7/2021 2:39:57 PM	SINGLEP	Check For Extra Modules (3.2108s)
11/7/2021 2:39:57 PM	SINGLEP	474 Xml Files Parsed in 3,163ms
11/7/2021 2:39:57 PM	SINGLEP	Gather Ancient Lifeforms (0.0200s)
11/7/2021 2:39:58 PM	3.746	SINGLEP	Game Version: 3.746
11/7/2021 2:39:58 PM	3.746	SINGLEP	Eject Trash Into Hyperspace (0.1372s)
11/7/2021 2:39:58 PM	3.746	SINGLEP	Bring Cloaking Systems Online (0.0814s)
11/7/2021 2:39:58 PM	3.746	SINGLEP	Update mod and expansion statuses!
11/7/2021 2:39:58 PM	3.746	SINGLEP	Expansions:  The Spire Rises (Installed And Enabled!)  Zenith Onslaught (Installed And Enabled!)  The Neinzul Abyss (Installed And Enabled!)  
11/7/2021 2:39:58 PM	3.746	SINGLEP	Mods:  CapturableDreadnoughts (Disabled)  ExoticShips (Disabled)  ExtendedShipVariants (Disabled)  FrigatesFocus (Disabled)  MicroModCollection (Disabled)  MoreFrigates (Disabled)  MoreStartingFleets (Disabled)  MoreSystemDefenders (Disabled)  PowerfulCommandStations (Disabled)  RaisingTheFloorMultiAIAdjustment (Disabled)  SKCivilianIndustry (Disabled)  SpireRailgunShop (Disabled)  StrategicRebalance (Disabled)  StrategicRebalanceDLC1 (Disabled)  StrategicRebalanceDLC2 (Disabled)  SuperchargeRaid (Disabled)  SuperSaiyanOverlord (Disabled)  TameDarkSpire (Disabled)  
11/7/2021 2:39:58 PM	3.746	SINGLEP	Check Nearby Stellar Masses (0.1056s)
11/7/2021 2:39:58 PM	3.746	SINGLEP	474 Xml Files Checked For Exp/Mod Status in 23ms
11/7/2021 2:39:58 PM	3.746	SINGLEP	Pruning Excess Brain Cells (0.3526s)
11/7/2021 2:39:59 PM	3.746	SINGLEP	No resolution change was required.
11/7/2021 2:39:59 PM	3.746	SINGLEP	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
11/7/2021 2:39:59 PM	3.746	SINGLEP	Applied Framerate Type: 60 FPS (vsync: 0 targetFPS:60)
11/7/2021 2:39:59 PM	3.746	SINGLEP	Remembering Alamo (0.9471s)
11/7/2021 2:40:01 PM	3.746	SINGLEP	Calculate Odds Of Success (1.5424s)
11/7/2021 2:40:02 PM	3.746	SINGLEP	Briefly Panic (1.6903s)
11/7/2021 2:40:03 PM	3.746	SINGLEP	Install Confidence Routines (0.4844s)
11/7/2021 2:40:06 PM	3.746	SINGLEP	Late Axionic Computations (3.4217s)
11/7/2021 2:40:06 PM	3.746	SINGLEP	Acquiring Towel (0.0320s)
11/7/2021 2:40:06 PM	3.746	SINGLEP	Inhibiting Visual Scans (0.0672s)
11/7/2021 2:40:07 PM	3.746	SINGLEP	Ejecting Tactical Core (0.7293s)
11/7/2021 2:40:07 PM	3.746	SINGLEP	Grouping Flow Fields (0.0600s)
11/7/2021 2:40:10 PM	3.746	SINGLEP	Sucking In Starfields (2.7867s)
11/7/2021 2:40:12 PM	3.746	SINGLEP	Verifying Distant Planets (2.3313s)
11/7/2021 2:40:12 PM	3.746	SINGLEP	Calculating Firing Cones (0.0100s)
11/7/2021 2:40:13 PM	3.746	SINGLEP	Holding Ship Parts For Comfort (0.7346s)
11/7/2021 2:40:13 PM	3.746	SINGLEP	Re-Aligning Objectives (0.1291s)
11/7/2021 2:40:16 PM	3.746	SINGLEP	Overwrote old entry for OrbitalDireConcussionGuardPost in OrbitalDireGuardPosts_FreeforAll
11/7/2021 2:40:16 PM	3.746	SINGLEP	Reassembling All Ships (2.9661s)
11/7/2021 2:40:16 PM	3.746	SINGLEP	Post-Proton Surge (0.0270s)
11/7/2021 2:40:16 PM	3.746	SINGLEP	DELAYED1: We have 30 sapper difficulties
11/7/2021 2:40:16 PM	3.746	SINGLEP	DELAYED2: We have 30 sapper difficulties
11/7/2021 2:40:16 PM	3.746	SINGLEP	DELAYED3: We have 10 sapper difficulties
11/7/2021 2:40:16 PM	3.746	SINGLEP	Background Radiation Taste Test (0.0893s)
11/7/2021 2:40:16 PM	3.746	SINGLEP	Shuffling Chairs On Command Deck (0.0190s)
11/7/2021 2:40:16 PM	3.746	SINGLEP	Nomad cleanup!
11/7/2021 2:40:16 PM	3.746	SINGLEP	Windshield Wiping (0.1963s)
11/7/2021 2:40:17 PM	3.746	SINGLEP	DELAYED4: Just a note: GreatA’Thomek gives a bonus to incoming damage based on some sort of distance check.  This is kinda fine, but the AI won't adjust its targeting to handle that properly, so it's not really ideal.
11/7/2021 2:40:17 PM	3.746	SINGLEP	DELAYED5: Just a note: PreserverGolem gives a bonus to incoming damage based on some sort of distance check.  This is kinda fine, but the AI won't adjust its targeting to handle that properly, so it's not really ideal.
11/7/2021 2:40:17 PM	3.746	SINGLEP	DELAYED6: Just a note: HuggerGolem gives a bonus to incoming damage based on some sort of distance check.  This is kinda fine, but the AI won't adjust its targeting to handle that properly, so it's not really ideal.
11/7/2021 2:40:17 PM	3.746	SINGLEP	DELAYED7: Just a note: TemplarSergeant gives a bonus to incoming damage based on some sort of distance check.  This is kinda fine, but the AI won't adjust its targeting to handle that properly, so it's not really ideal.
11/7/2021 2:40:17 PM	3.746	SINGLEP	Last Organizational Modeling (0.6975s)
11/7/2021 2:40:18 PM	3.746	SINGLEP	Stimulate Modulation (0.5214s)
11/7/2021 2:40:18 PM	3.746	SINGLEP	ArcenAssetBundleCache.InstantiatedObjects: 0
11/7/2021 2:40:18 PM	3.746	SINGLEP	Order Cores By Seniority (0.0170s)
11/7/2021 2:40:17 PM	3.746	SINGLEP	DELAYED8: Info: will dump 1711 rows for GameEntityReferenceData.csv and GameEntityStrengthList.txt.
11/7/2021 2:40:18 PM	3.746	SINGLEP	Final Checks (0.6937s)
11/7/2021 2:40:18 PM	3.746	SINGLEP	Load Historical Documents (0.0090s)
11/7/2021 2:40:18 PM	3.746	SINGLEP	25.7 seconds total load time.
Boot up FleetOS (0.4s)
Check System Logs For Rogue Intelligence (0.8s)
Inspect Aft Hatches (0.3s)
Check For Extra Modules (3.2s)
Pruning Excess Brain Cells (0.4s)
Remembering Alamo (0.9s)
Calculate Odds Of Success (1.5s)
Briefly Panic (1.7s)
Install Confidence Routines (0.5s)
Late Axionic Computations (3.4s)
Ejecting Tactical Core (0.7s)
Sucking In Starfields (2.8s)
Verifying Distant Planets (2.3s)
Holding Ship Parts For Comfort (0.7s)
Reassembling All Ships (3.0s)
Last Organizational Modeling (0.7s)
Stimulate Modulation (0.5s)
Final Checks (0.7s)
11/7/2021 2:40:19 PM	3.746	SINGLEP	Hello Steam user 'Loss Aversion'
11/7/2021 2:40:50 PM	3.746	SINGLEP	Start load save: D:/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings
11/7/2021 2:40:50 PM	3.746	SINGLEP	null possible names
11/7/2021 2:40:51 PM	3.746	SINGLEP	loading as template
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction AIReserves because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction AntiAIZombie because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction AntiEveryoneZombie because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction AntiPlayerZombie because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction Instigators because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction NaturalObject because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction Outguard because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Fix Missing Faction: Added the faction WormholeInvasion because every game should have exactly one of these.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Finish load save in 371.0ms
11/7/2021 2:40:51 PM	3.746	SINGLEP	Start Generate Partial Map with Realistic and seed 116064240 and planet count 80 and 11 factions (StartingTheLobbyFromPrior LoadingLastLobbySettings)
11/7/2021 2:40:51 PM	3.746	SINGLEP	PlayerAccount Loss Aversion has now been put in control of faction 1 - Human Remnant.
11/7/2021 2:40:51 PM	3.746	SINGLEP	Generate Partial Map Complete  513ms Seed: 116064240
11/7/2021 2:40:54 PM	3.746	SINGLEP	skipping ElderlingsAgainstNecromancer
11/7/2021 2:40:54 PM	3.746	SINGLEP	skipping Templar
11/7/2021 2:41:00 PM	3.746	SINGLEP	Start Generate Partial Map with Realistic and seed 116064240 and planet count 80 and 20 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
11/7/2021 2:41:00 PM	3.746	SINGLEP	PlayerAccount Loss Aversion is controlling faction 1 - Human Remnant already.
11/7/2021 2:41:00 PM	3.746	SINGLEP	Generate Partial Map Complete  291ms Seed: 116064240
11/7/2021 2:41:41 PM	3.746	SINGLEP	Start Generate FULL Map with Realistic and seed 116064240 and planet count 80 and 20 factions (StartingMainGameAfterLobby NotLoadingAnything)
11/7/2021 2:41:41 PM	3.746	SINGLEP	Calculated Initial Strengths For New Full Galaxy Map in 27ms
11/7/2021 2:41:41 PM	3.746	SINGLEP	Generate FULL Map Complete  757ms Seed: 116064240
11/7/2021 2:41:42 PM	3.746	SINGLEP	DELAYED9: Fixed incorrect count of ships to be granted.  Was 10, now 2 EMP Turret from Turret Schematic Server
11/7/2021 2:41:46 PM	3.746	SINGLEP	DELAYED10: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:41:46 PM	3.746	SINGLEP	DELAYED11: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x007df] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:41:49 PM	3.746	SINGLEP	DELAYED12: DoLongTermPlanning_MassivelyParallelThreads: System.Threading.ThreadStateException: Thread has already been started.
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal(System.Threading.Thread,System.MulticastDelegate)
  at System.Threading.Thread.StartInternal (System.Security.Principal.IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x0001a] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.Thread.Start () [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.AIW2.External.ArcenThread.Start (System.Boolean FailSilentlyIfNotFinishedYet) [0x0011e] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThreadManager.StartExistingThreadWithNewCosmeticName (Arcen.AIW2.External.IThreadStatusChecker StatusChecker, System.String CosmeticName, System.Boolean FailSilentlyIfNotFinishedYet) [0x0001a] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenHostOnlySimPlanningContext.RunOnBackgroundThread (System.Boolean FailSilentlyIfNotFinishedYet) [0x0003d] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext.Helper_CheckForRunningFactionThread_Parallel (System.Boolean mayLaunchAnyThread, System.Int16 factionIndex) [0x00299] in <137b78ebc7d9421db004e67c75ec0670>:0 
  at Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext.DoLongTermPlanning_MassivelyParallelThreads () [0x00056] in <137b78ebc7d9421db004e67c75ec0670>:0 
11/7/2021 2:42:05 PM	3.746	SINGLEP	DELAYED13: Error occurred in c-o-h sim planning context perSecondNonSimPlan_LT_Cont
ArgumentException
Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.ActualObjective]
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ThrowOrIgnoreBadComparer	29	130	0	0
	Sort	18	130	0	0
	Sort	211	738	0	0
	Sort	56	290	0	0
	SwapObjectivesFromBuildingToDisplay	64	482	0	0
	RegenerateAllObjectives_ClientOrHost	205	546	0	0
	DoCentralLoop_ClientAndHost	179	1058	0	0
	Execute	24	122	0	0
	InnerRun	69	178	0	0
===RAW STACK TRACE===
  at Arcen.Universal.Collections.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0001d] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00012] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.ObjectiveCategory.SwapObjectivesFromBuildingToDisplay () [0x00040] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.ObjectiveGeneratorTable.RegenerateAllObjectives_ClientOrHost (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000cd] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop_ClientAndHost () [0x000b3] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00018] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00045] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:42:37 PM	3.746	SINGLEP	DELAYED14: CalculateRequestedFlows exception hit. debugCode 3750 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00944] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:37 PM	3.746	SINGLEP	DELAYED15: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:37 PM	3.746	SINGLEP	DELAYED16: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:42 PM	3.746	SINGLEP	DELAYED17: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x003a7] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:42 PM	3.746	SINGLEP	DELAYED18: CalculateRequestedFlows exception hit. debugCode 3750 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x009d5] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:42 PM	3.746	SINGLEP	DELAYED19: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x006a1] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:42:42 PM	3.746	SINGLEP	DELAYED20: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 33700: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.ProtectedList`1[T].RemoveAt (System.Int32 Index, System.Boolean YesDoBeforeRemoveOrClear) [0x0001e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00659] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:42:42 PM	3.746	SINGLEP	DELAYED21: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00019] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].SwapIfGreaterWithItems (T[] keys, System.Int32 a, System.Int32 b, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00009] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:43:16 PM	3.746	SINGLEP	DELAYED22: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:43:16 PM	3.746	SINGLEP	DELAYED23: CalculateRequestedFlows exception hit. debugCode 3750 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00a19] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:43:16 PM	3.746	SINGLEP	DELAYED24: ERROR In FactoryConstructionForPlayerMobileFleets debugStage 2100: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00873] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__1 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:43:51 PM	3.746	SINGLEP	DELAYED25: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x007df] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:44:02 PM	3.746	SINGLEP	DELAYED26: Error occurred in c-o-h sim planning context perSecondNonSimPlan_LT_Cont
ArgumentException
Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.ActualObjective]
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ThrowOrIgnoreBadComparer	29	130	0	0
	Sort	18	130	0	0
	Sort	211	738	0	0
	Sort	56	290	0	0
	SwapObjectivesFromBuildingToDisplay	64	482	0	0
	RegenerateAllObjectives_ClientOrHost	205	546	0	0
	DoCentralLoop_ClientAndHost	179	1058	0	0
	Execute	24	122	0	0
	InnerRun	69	178	0	0
===RAW STACK TRACE===
  at Arcen.Universal.Collections.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0001d] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00012] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.ObjectiveCategory.SwapObjectivesFromBuildingToDisplay () [0x00040] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.ObjectiveGeneratorTable.RegenerateAllObjectives_ClientOrHost (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000cd] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop_ClientAndHost () [0x000b3] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00018] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00045] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:44:39 PM	3.746	SINGLEP	DELAYED27: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 33700: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.ProtectedList`1[T].RemoveAt (System.Int32 Index, System.Boolean YesDoBeforeRemoveOrClear) [0x0001e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00659] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:44:39 PM	3.746	SINGLEP	DELAYED28: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00019] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].SwapIfGreaterWithItems (T[] keys, System.Int32 a, System.Int32 b, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00009] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:44:51 PM	3.746	SINGLEP	DELAYED29: CalculateRequestedFlows exception hit. debugCode 410 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x01074] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:44:51 PM	3.746	SINGLEP	DELAYED30: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:44:51 PM	3.746	SINGLEP	DELAYED31: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:44:51 PM	3.746	SINGLEP	DELAYED32: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:44:51 PM	3.746	SINGLEP	DELAYED33: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:44:53 PM	3.746	SINGLEP	DELAYED34: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.InitPlannedFlowIfNull (System.String AppendixReason) [0x0002f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f41] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:44:53 PM	3.746	SINGLEP	DELAYED35: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:45:08 PM	3.746	SINGLEP	DELAYED36: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:45:08 PM	3.746	SINGLEP	DELAYED37: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:45:08 PM	3.746	SINGLEP	DELAYED38: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00019] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].SwapIfGreaterWithItems (T[] keys, System.Int32 a, System.Int32 b, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00009] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:45:08 PM	3.746	SINGLEP	DELAYED39: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00019] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].SwapIfGreaterWithItems (T[] keys, System.Int32 a, System.Int32 b, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00009] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:46:27 PM	3.746	SINGLEP	DELAYED40: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.InitPlannedFlowIfNull (System.String AppendixReason) [0x0002f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f41] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:27 PM	3.746	SINGLEP	DELAYED41: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:28 PM	3.746	SINGLEP	DELAYED42: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:28 PM	3.746	SINGLEP	DELAYED43: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:28 PM	3.746	SINGLEP	DELAYED44: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:28 PM	3.746	SINGLEP	DELAYED45: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00057] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000c3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:46:28 PM	3.746	SINGLEP	DELAYED46: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00057] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000c3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:46:31 PM	3.746	SINGLEP	DELAYED47: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:31 PM	3.746	SINGLEP	DELAYED48: CalculateRequestedFlows exception hit. debugCode 410 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x01074] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:31 PM	3.746	SINGLEP	DELAYED49: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:31 PM	3.746	SINGLEP	DELAYED50: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:31 PM	3.746	SINGLEP	DELAYED51: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 33700: System.IndexOutOfRangeException: 15 was larger than 5, the current effective size of the list. LocationNameForTracing:Faction-PlannedFlowsByPlanetIndex_ForUI
  at Arcen.Universal.List`1[T].RemoveAt (System.Int32 index) [0x00050] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ProtectedList`1[T].RemoveAt (System.Int32 Index, System.Boolean YesDoBeforeRemoveOrClear) [0x00029] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00659] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:46:59 PM	3.746	SINGLEP	DELAYED52: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:46:59 PM	3.746	SINGLEP	DELAYED53: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:47:15 PM	3.746	SINGLEP	DELAYED54: CalculateRequestedFlows exception hit. debugCode 420 exception System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000da] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Array.Copy (System.Array sourceArray, System.Int64 sourceIndex, System.Array destinationArray, System.Int64 destinationIndex, System.Int64 length) [0x00068] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.List`1[T].CopyTo (T[] array, System.Int32 arrayIndex) [0x0000f] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00147] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.PlannedMetalFlow.CreateCopy (System.Boolean CreateForUIInsteadOfRealGame, System.String CreationType) [0x00033] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:47:16 PM	3.746	SINGLEP	DELAYED55: ERROR In FactoryConstructionForPlayerMobileFleets debugStage 2100: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00873] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__1 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:47:16 PM	3.746	SINGLEP	EntityLineTypeTable.Instance.DoAnyDrawsFromMainThread error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.ShipToShipLineRenderer.WriteToDrawBufferForOneFrame (Arcen.AIW2.Core.EntityLineType TypeData, UnityEngine.Vector3 Position, UnityEngine.Quaternion Rotation, System.Single TopmostZScale) [0x00071] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineType.DoAnyDrawsFromMainThread () [0x0007e] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineTypeTable.DoAnyDrawsFromMainThread () [0x00011] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00160] in <e2d501cc53f742da8223926438c9aae8>: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) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at ArcenMainGameVisuals.Update () [0x00000] in <a97b33b903654ec69bbf1eecc081d8c3>:0 

11/7/2021 2:47:16 PM	3.746	SINGLEP	EntityLineTypeTable.Instance.DoAnyDrawsFromMainThread error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.ShipToShipLineRenderer.WriteToDrawBufferForOneFrame (Arcen.AIW2.Core.EntityLineType TypeData, UnityEngine.Vector3 Position, UnityEngine.Quaternion Rotation, System.Single TopmostZScale) [0x00071] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineType.DoAnyDrawsFromMainThread () [0x0007e] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineTypeTable.DoAnyDrawsFromMainThread () [0x00011] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00160] in <e2d501cc53f742da8223926438c9aae8>: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) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at ArcenMainGameVisuals.Update () [0x00000] in <a97b33b903654ec69bbf1eecc081d8c3>:0 

11/7/2021 2:47:16 PM	3.746	SINGLEP	EntityLineTypeTable.Instance.DoAnyDrawsFromMainThread error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.ShipToShipLineRenderer.WriteToDrawBufferForOneFrame (Arcen.AIW2.Core.EntityLineType TypeData, UnityEngine.Vector3 Position, UnityEngine.Quaternion Rotation, System.Single TopmostZScale) [0x00071] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineType.DoAnyDrawsFromMainThread () [0x0007e] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityLineTypeTable.DoAnyDrawsFromMainThread () [0x00011] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00160] in <e2d501cc53f742da8223926438c9aae8>: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) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () [0x00000] in <e2d501cc53f742da8223926438c9aae8>:0 
  at ArcenMainGameVisuals.Update () [0x00000] in <a97b33b903654ec69bbf1eecc081d8c3>:0 

11/7/2021 2:47:40 PM	3.746	SINGLEP	DELAYED56: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:47:42 PM	3.746	SINGLEP	DELAYED57: Error occurred in c-o-h sim planning context perSecondNonSimPlan_LT_Cont
InvalidOperationException
Failed to compare two elements in an array.
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	Sort	42	322	0	0
	Sort	211	738	0	0
	Sort	56	290	0	0
	SwapObjectivesFromBuildingToDisplay	64	482	0	0
	RegenerateAllObjectives_ClientOrHost	205	546	0	0
	DoCentralLoop_ClientAndHost	179	1058	0	0
	Execute	24	122	0	0
	InnerRun	69	178	0	0
===RAW STACK TRACE===
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.ObjectiveCategory.SwapObjectivesFromBuildingToDisplay () [0x00040] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.ObjectiveGeneratorTable.RegenerateAllObjectives_ClientOrHost (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000cd] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop_ClientAndHost () [0x000b3] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00018] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00045] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:47:42 PM	3.746	SINGLEP	DELAYED58: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x007df] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:47:47 PM	3.746	SINGLEP	DELAYED59: Human DoFactionStepLogic_Stage1 error at debugStage 10500: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c__DisplayClass269_2.<DoFactionStepLogic_Stage1_SingleThread>b__5 (Arcen.AIW2.Core.GameEntity_Squad consumer) [0x0027c] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x003d1] in <ce4249eb374f4381b8b635dd7051de4b>:0 
11/7/2021 2:47:56 PM	3.746	SINGLEP	DELAYED60: CalculateRequestedFlows exception hit. debugCode 410 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x01074] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:47:56 PM	3.746	SINGLEP	DELAYED61: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:08 PM	3.746	SINGLEP	DELAYED62: ERROR In FactoryConstructionForPlayerMobileFleets debugStage 2100: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00873] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__1 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:48:15 PM	3.746	SINGLEP	DELAYED63: CalculateRequestedFlows exception hit. debugCode 420 exception System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000da] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Array.Copy (System.Array sourceArray, System.Int64 sourceIndex, System.Array destinationArray, System.Int64 destinationIndex, System.Int64 length) [0x00068] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.List`1[T].CopyTo (T[] array, System.Int32 arrayIndex) [0x0000f] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00147] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.PlannedMetalFlow.CreateCopy (System.Boolean CreateForUIInsteadOfRealGame, System.String CreationType) [0x00033] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:15 PM	3.746	SINGLEP	DELAYED64: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:15 PM	3.746	SINGLEP	DELAYED65: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:21 PM	3.746	SINGLEP	DELAYED66: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 33700: System.IndexOutOfRangeException: 11 was larger than 4, the current effective size of the list. LocationNameForTracing:Faction-PlannedFlowsByPlanetIndex_ForUI
  at Arcen.Universal.List`1[T].RemoveAt (System.Int32 index) [0x00050] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ProtectedList`1[T].RemoveAt (System.Int32 Index, System.Boolean YesDoBeforeRemoveOrClear) [0x00029] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00659] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:48:34 PM	3.746	SINGLEP	DELAYED67: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.InitPlannedFlowIfNull (System.String AppendixReason) [0x0002f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00357] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:34 PM	3.746	SINGLEP	DELAYED68: CalculateRequestedFlows exception hit. debugCode 420 exception System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000da] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Array.Copy (System.Array sourceArray, System.Int64 sourceIndex, System.Array destinationArray, System.Int64 destinationIndex, System.Int64 length) [0x00068] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.List`1[T].CopyTo (T[] array, System.Int32 arrayIndex) [0x0000f] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00147] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.PlannedMetalFlow.CreateCopy (System.Boolean CreateForUIInsteadOfRealGame, System.String CreationType) [0x00033] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:36 PM	3.746	SINGLEP	DELAYED69: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.InitPlannedFlowIfNull (System.String AppendixReason) [0x0002f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f41] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:36 PM	3.746	SINGLEP	DELAYED70: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:43 PM	3.746	SINGLEP	DELAYED71: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:43 PM	3.746	SINGLEP	DELAYED72: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.Add (System.Int32 Item) [0x0005a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x00788] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:43 PM	3.746	SINGLEP	DELAYED73: ERROR In FactoryConstructionForPlayerMobileFleets debugStage 2100: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00873] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__1 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:48:58 PM	3.746	SINGLEP	DELAYED74: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:48:58 PM	3.746	SINGLEP	DELAYED75: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:48:58 PM	3.746	SINGLEP	DELAYED76: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:28 PM	3.746	SINGLEP	DELAYED77: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:28 PM	3.746	SINGLEP	DELAYED78: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:28 PM	3.746	SINGLEP	DELAYED79: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:28 PM	3.746	SINGLEP	DELAYED80: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:28 PM	3.746	SINGLEP	DELAYED81: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:38 PM	3.746	SINGLEP	DELAYED82: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00fe5] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:38 PM	3.746	SINGLEP	DELAYED83: ERROR In FactoryConstructionForPlayerMobileFleets debugStage 2100: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00873] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.ExecutePlannedMetalFlows (Arcen.Universal.FInt EffectiveDeltaTime_PausedOrUnpaused, System.Int32& outerdebugStage, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage1_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__1 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:51 PM	3.746	SINGLEP	DELAYED84: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:51 PM	3.746	SINGLEP	DELAYED85: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:51 PM	3.746	SINGLEP	DELAYED86: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:51 PM	3.746	SINGLEP	DELAYED87: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:51 PM	3.746	SINGLEP	DELAYED88: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:49:53 PM	3.746	SINGLEP	DELAYED89: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:53 PM	3.746	SINGLEP	DELAYED90: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:49:53 PM	3.746	SINGLEP	DELAYED91: CalculateRequestedFlows exception hit. debugCode 420 exception System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds
  at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000da] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Array.Copy (System.Array sourceArray, System.Int64 sourceIndex, System.Array destinationArray, System.Int64 destinationIndex, System.Int64 length) [0x00068] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.List`1[T].CopyTo (T[] array, System.Int32 arrayIndex) [0x0000f] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00147] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.PlannedMetalFlow.CreateCopy (System.Boolean CreateForUIInsteadOfRealGame, System.String CreationType) [0x00033] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:03 PM	3.746	SINGLEP	DELAYED92: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:03 PM	3.746	SINGLEP	DELAYED93: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:03 PM	3.746	SINGLEP	DELAYED94: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:03 PM	3.746	SINGLEP	DELAYED95: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:14 PM	3.746	SINGLEP	DELAYED96: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00fb0] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:16 PM	3.746	SINGLEP	DELAYED97: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:16 PM	3.746	SINGLEP	DELAYED98: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:16 PM	3.746	SINGLEP	DELAYED99: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:23 PM	3.746	SINGLEP	DELAYED100: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:23 PM	3.746	SINGLEP	DELAYED101: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:23 PM	3.746	SINGLEP	DELAYED102: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:25 PM	3.746	SINGLEP	DELAYED103: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:28 PM	3.746	SINGLEP	DELAYED104: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 33700: System.IndexOutOfRangeException: 8 was larger than 6, the current effective size of the list. LocationNameForTracing:Faction-PlannedFlowsByPlanetIndex_ForUI
  at Arcen.Universal.List`1[T].RemoveAt (System.Int32 index) [0x00050] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ProtectedList`1[T].RemoveAt (System.Int32 Index, System.Boolean YesDoBeforeRemoveOrClear) [0x00029] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00659] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:29 PM	3.746	SINGLEP	DELAYED105: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00057] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000c3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:31 PM	3.746	SINGLEP	DELAYED106: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:31 PM	3.746	SINGLEP	DELAYED107: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:31 PM	3.746	SINGLEP	DELAYED108: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:31 PM	3.746	SINGLEP	DELAYED109: Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	31	434	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:31 PM	3.746	SINGLEP	DELAYED110: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED111: CalculateRequestedFlows exception hit. debugCode 420 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x010c9] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED112: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED113: CalculateRequestedFlows exception hit. debugCode 340 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00395] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED114: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED115: CalculateRequestedFlows exception hit. debugCode 390 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00f61] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED116: CalculateRequestedFlows exception hit. debugCode 3750 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x009d5] in <1d02151d521d48758bd63a7914b5383f>:0 
11/7/2021 2:50:37 PM	3.746	SINGLEP	DELAYED117: Helper_UpdateLocalFactionUIDataFromFlow error at debugStage 34100: System.InvalidOperationException: Failed to compare two elements in an array. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Faction+<>c.<AfterAllFactions_UpdateLocalFactionUIDataFromFlow>b__274_0 (Arcen.Universal.Pair`2[LeftType,RightType] L, Arcen.Universal.Pair`2[LeftType,RightType] R) [0x00019] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.Universal.FunctorComparer`1[T].Compare (T x, T y) [0x00001] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000a5] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0009e] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0001b] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00002] in <fe9392eecbc842ffa78fdafff13118c1>:0 
   --- End of inner exception stack trace ---
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x0002a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x006c6] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.Core.Faction.AfterAllFactions_UpdateLocalFactionUIDataFromFlow () [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage2_SingleThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass60_0.<DoFactionPerStepLogic>b__2 (Arcen.AIW2.Core.Faction faction) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <ce4249eb374f4381b8b635dd7051de4b>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <1d02151d521d48758bd63a7914b5383f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

11/7/2021 2:50:47 PM	3.746	SINGLEP	DELAYED118: ArcenShortTermPlanningContext.ParallelRunAllContext error for context StrengthCounting: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
  at System.Text.StringBuilder.ToString () [0x000a6] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDoubleCharacterBuffer.GetStringAndResetForNextUpdate () [0x0008a] in <fe9392eecbc842ffa78fdafff13118c1>:0 
  at Arcen.AIW2.External.StrengthCounting.RunStrengthCounting (System.Boolean StopAfterTimeGetsTooHigh) [0x006a1] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.StrengthCounting.Execute () [0x00028] in <1d02151d521d48758bd63a7914b5383f>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <1d02151d521d48758bd63a7914b5383f>:0 
ArcenDebugLog.txt (184,034 bytes)   

Chris_McElligottPark

Nov 8, 2021 4:38 pm

administrator   ~0063255

Thanks!

* A bit better error logging inside ArcenThread.Start, although I think a lot of the errors happening in there were secondary to other things that people were running into.

Issue History

Date Modified Username Field Change
Nov 7, 2021 9:47 am RocketAssistedPuffin New Issue
Nov 7, 2021 9:49 am RocketAssistedPuffin Description Updated
Nov 7, 2021 9:50 am RocketAssistedPuffin Note Added: 0063239
Nov 7, 2021 9:52 am RocketAssistedPuffin Note Added: 0063240
Nov 7, 2021 9:52 am RocketAssistedPuffin File Added: ArcenDebugLog.txt
Nov 7, 2021 9:53 am RocketAssistedPuffin Description Updated
Nov 8, 2021 4:38 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 8, 2021 4:38 pm Chris_McElligottPark Status new => resolved
Nov 8, 2021 4:38 pm Chris_McElligottPark Resolution open => fixed
Nov 8, 2021 4:38 pm Chris_McElligottPark Fixed in Version => Beta 3.750 Smooth Simulator
Nov 8, 2021 4:38 pm Chris_McElligottPark Note Added: 0063255