View Issue Details

IDProjectCategoryLast Update
0025988AI War 2Crash/ExceptionDec 18, 2021 10:15 pm
Reportertadrinth Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.767 Elderling Sanity 
Fixed in VersionBeta 3.768 Ironman And Doomsday 
Summary0025988: Error about 'StartingAIPlanetRatio' when starting game with DLC2 disabled
DescriptionStarted a game with DLC2 disabled, DLC1 and DLC3 enabled, got following error, game seemed fine after I ignored it.

GetStringValueForCustomFieldOrDefaultValue: The faction AI has 11 custom fields on it, but none of them were named 'StartingAIPlanetRatio'
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <c3df033c2729489f9a7393cd31bc61b5>:0
  at Arcen.AIW2.Core.ConfigurationForFaction.GetStringValueForCustomFieldOrDefaultValue (System.String CustomFieldName, System.Boolean ErrorOnMissingField) [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.Core.Faction.GetStringValueForCustomFieldOrDefaultValue (System.String CustomFieldName, System.Boolean ErrorOnMissingField) [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.External.FactionCustomFieldExtensions.CustomData_StartingAIPlanetRatio (Arcen.AIW2.Core.Faction ParentObject, System.Boolean ErrorOnMissingField) [0x00000] in <5a042169062347e4b2bd38e3b1b7d2d1>:0
  at Arcen.AIW2.External.StandardMapPopulator.DetermineAiOwnership (Arcen.AIW2.Core.Galaxy galaxy, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.MapConfiguration MapConfig, Arcen.AIW2.Core.MapTypeData mapType) [0x00000] in <3e53efb73f314dd6bda3a0756d38f240>:0
  at Arcen.AIW2.Core.Mapgen.CreateGalaxyDetails (Arcen.AIW2.Core.Galaxy galaxy, Arcen.AIW2.Core.ArcenHostOnlySimContext DetailsContext) [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.Core.Mapgen.InnerMapGenCall () [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.Core.Mapgen.WorkThreadOnly_StartNewGame () [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.Core.Mapgen.GenerateMap_Inner (Arcen.AIW2.Core.Tutorial TutOrNullToUse, System.Action PostMapGenAction) [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at Arcen.AIW2.Core.Mapgen+<>c__DisplayClass9_0.<GenerateMap>b__0 () [0x00000] in <9a253b2219b34bc99d12769eb182a92e>:0
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [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.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
TagsNo tags attached.

Relationships

child of 0025884 resolvedChris_McElligottPark Parent: Todo prior to beta exit 

Activities

Chris_McElligottPark

Dec 18, 2021 10:15 pm

administrator   ~0063518

Thanks!

* Fixed a bug where if you did not have DLC2 installed since the great refactor, when you started a game you'd get an error about StartingAIPlanetRatio missing.

Issue History

Date Modified Username Field Change
Dec 18, 2021 8:16 pm tadrinth New Issue
Dec 18, 2021 9:33 pm Chris_McElligottPark Relationship added child of 0025884
Dec 18, 2021 10:15 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 18, 2021 10:15 pm Chris_McElligottPark Status new => resolved
Dec 18, 2021 10:15 pm Chris_McElligottPark Resolution open => fixed
Dec 18, 2021 10:15 pm Chris_McElligottPark Fixed in Version => Beta 3.768 Ironman And Doomsday
Dec 18, 2021 10:15 pm Chris_McElligottPark Note Added: 0063518