View Issue Details

IDProjectCategoryLast Update
0025600AI War 2Bug - GameplayOct 1, 2021 12:09 pm
Reporterwhimsee Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.703 Smooth Sim 
Fixed in VersionBeta 3.704 Unexpected Turbo Sim Speed 
Summary0025600: Astro train bug
DescriptionHappened after killing an astro train. Probably a minor bug since it didn't seem to do anything, but I couldn't reproduce it after trying it again a couple of times so I uploaded the save just in case.

Basically, all I did was meet the train at "Dave's Pet Rock" then I killed it after it passed through the train station.
TagsNo tags attached.

Activities

whimsee

Oct 1, 2021 3:11 am

reporter  

debug.txt (3,772 bytes)   
9/30/2021 11:57:47 PM	3.703	SINGLEP	DELAYED2: Error!  Called GetExternalBaseInfoAs<Arcen.AIW2.External.AstroTrainsPerTrainBaseInfo>() when BaseInfo was null on AstroTrainTankStyle
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2d4c603888a14cd8afdc94305e348a44>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.GetExternalBaseInfoAs[T] () [0x00000] in <3acbec23d6514b40b47669a446381e36>:0 
  at Arcen.AIW2.External.AstroTrainsFactionDeepInfo+<>c__DisplayClass11_1.<DoLongRangePlanning_OnBackgroundNonSimThread_Subclass>b__1 (Arcen.AIW2.Core.GameEntity_Squad train) [0x00000] in <3e18f1578eba42848677945a24d54ca9>:0 
  at Arcen.Universal.DoubleBufferedConcurrentList`1[ItemType].Display_DoFor (Arcen.Universal.DoubleBufferedConcurrentListProcessor`1[ItemType] Processor) [0x00000] in <2d4c603888a14cd8afdc94305e348a44>:0 
  at Arcen.AIW2.External.AstroTrainsFactionDeepInfo.DoLongRangePlanning_OnBackgroundNonSimThread_Subclass (Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext Context) [0x00000] in <3e18f1578eba42848677945a24d54ca9>:0 
  at Arcen.AIW2.External.ExternalFactionDeepInfoRoot.DoLongRangePlanning_OnBackgroundNonSimThread_HostOnly (Arcen.AIW2.Core.ILongRangePlanningHostContext Context) [0x00000] in <3e18f1578eba42848677945a24d54ca9>:0 
  at Arcen.AIW2.Core.Faction.Safe_DeepInfo_DoLongRangePlanning_OnBackgroundNonSimThread_HostOnly (Arcen.AIW2.Core.ILongRangePlanningHostContext Context) [0x00000] in <3acbec23d6514b40b47669a446381e36>:0 
  at Arcen.AIW2.External.SpecialFactionPlanning.Execute () [0x00000] in <3e18f1578eba42848677945a24d54ca9>:0 
  at Arcen.AIW2.External.ArcenHostOnlySimPlanningContext.InnerRun () [0x00000] in <7ec89aac5dc4479b935ad1e783873270>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <7ec89aac5dc4479b935ad1e783873270>: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 

9/30/2021 11:57:47 PM	3.703	SINGLEP	DELAYED3: Hit exception in astro train LRP debugCode 600 System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.AstroTrainsFactionDeepInfo+<>c__DisplayClass11_1.<DoLongRangePlanning_OnBackgroundNonSimThread_Subclass>b__1 (Arcen.AIW2.Core.GameEntity_Squad train) [0x0004e] in <3e18f1578eba42848677945a24d54ca9>:0 
  at Arcen.Universal.DoubleBufferedConcurrentList`1[ItemType].Display_DoFor (Arcen.Universal.DoubleBufferedConcurrentListProcessor`1[ItemType] Processor) [0x0002c] in <2d4c603888a14cd8afdc94305e348a44>:0 
  at Arcen.AIW2.External.AstroTrainsFactionDeepInfo.DoLongRangePlanning_OnBackgroundNonSimThread_Subclass (Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext Context) [0x000d1] in <3e18f1578eba42848677945a24d54ca9>:0 
debug.txt (3,772 bytes)   
Autosave at 1h 5m 10s.savemet (111 bytes)   
UK
62658899
3910
ast
<color=#66ffce>Easier </color> Full Ensemble
Difficulty 7
5
<color=#318ce7>whimsee</color>

Chris_McElligottPark

Oct 1, 2021 12:09 pm

administrator   ~0062872

Thanks!

* Fixed a variety of errors that could happen with astro trains based on them not having their external data properly initialized. At least one or two of these were translation errors on my part during the great refactor.

Issue History

Date Modified Username Field Change
Oct 1, 2021 3:11 am whimsee New Issue
Oct 1, 2021 3:11 am whimsee File Added: debug.txt
Oct 1, 2021 3:11 am whimsee File Added: Autosave at 1h 5m 10s.save
Oct 1, 2021 3:11 am whimsee File Added: Autosave at 1h 5m 10s.savemet
Oct 1, 2021 12:09 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 1, 2021 12:09 pm Chris_McElligottPark Status new => resolved
Oct 1, 2021 12:09 pm Chris_McElligottPark Resolution open => fixed
Oct 1, 2021 12:09 pm Chris_McElligottPark Fixed in Version => Beta 3.704 Unexpected Turbo Sim Speed
Oct 1, 2021 12:09 pm Chris_McElligottPark Note Added: 0062872