View Issue Details

IDProjectCategoryLast Update
0028137AI War 2Crash/ExceptionMay 31, 2024 10:48 pm
ReporterThe Grand Mugwump Assigned To 
Status newResolutionopen 
Product Version5.590 Informative Quickstarts 
Summary0028137: Fatal Error has caused a faction to shut down
DescriptionThe error occurred as I tried to place a spire building. I'm not sure which faction has been shut down by the error, and it's likely an extreme case since this galaxy has a heavy CPU load and both infused and fallen spire in it.
TagsNo tags attached.

Activities

The Grand Mugwump

Mar 12, 2024 8:40 am

reporter  

ArcenDebugLog.txt (2,956,826 bytes)
fsdafd.save (1,371,946 bytes)

BadgerBadger

Mar 12, 2024 10:24 am

manager   ~0068144

Two obvious exceptions:
3/12/2024 6:29:45 AM 5.590 SINGLEP DELAYED104 TID6 create a wormhole projector

error at debugstage 4030
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
  at Arcen.Universal.List`1[T].Add (T item) [0x0003b] in <589f034d55d74400ad8faee1cc0fdf9b>:0
  at Arcen.Universal.ArcenOverLinkedList`1[ItemType].AddAndPotentiallyCreateDuplicate (ItemType Item) [0x000cf] in <589f034d55d74400ad8faee1cc0fdf9b>:0
  at Arcen.AIW2.Core.EntityCollection.AddSquadIfNotAlreadyIn (Arcen.AIW2.Core.GameEntity_Squad Entity) [0x00067] in <2286768fdd0949f7a0389fb1e27bff24>:0
  at Arcen.AIW2.Core.PlanetFaction.AddEntity (Arcen.AIW2.Core.GameEntity_Squad Entity, System.String ReasonForChange) [0x0001d] in <2286768fdd0949f7a0389fb1e27bff24>:0
  at Arcen.AIW2.Core.GameEntity_Squad.CreateSquadNewWithSpecifiedID (Arcen.AIW2.Core.PlanetFaction Faction, System.Int32 PrimaryKeyID, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.GameEntityTypeData TypeData) [0x0007d] in <2286768fdd0949f7a0389fb1e27bff24>:0
  at Arcen.AIW2.Core.GameEntity_Squad.CreateNew_ReturnNullIfMPClient (Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, System.String CreationReason) [0x00019] in <2286768fdd0949f7a0389fb1e27bff24>:0
  at Arcen.AIW2.Core.Faction.SpawnNewUnit_ReturnNullIfMPClient (Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.Planet Planet, Arcen.Universal.ArcenPoint Location, Arcen.AIW2.Core.GameEntityTypeData TypeToSpawn, System.Byte MarkLevelToSpawnOrZero, Arcen.AIW2.Core.Fleet FleetIAmIn, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.AIW2.Core.EntityBehaviorType Behavior, System.Int16 BehaviorRelatedFactionIndex, Arcen.AIW2.Core.GameEntity_Squad GuardedObject, System.String CreationReason) [0x00014] in <2286768fdd0949f7a0389fb1e27bff24>:0
  at Arcen.AIW2.External.WavesHelperExtensions.DeployComposition (Arcen.AIW2.External.WavesHelper Me, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.Faction baseFaction, Arcen.AIW2.Core.GameEntity_Base entityToSpawnAtOrNull, System.Int16 TargetFactionIndex, Arcen.Universal.Dictionary`2[TKey,TValue] composition, Arcen.Universal.List`1[T] ResultingEntitiesDeployedOrNull, Arcen.Universal.ArcenPoint OverrideSpawnLocation, Arcen.AIW2.Core.Planet OverridePlanet, System.Boolean RelentlessWaveFactionAllowed, System.Boolean debug, System.Boolean deploySpreadOut) [0x003d9] in <c33c69deb0bd456e844d775888096ce0>:0 3/12/2024 6:31:10 AM 5.590 SINGLEP DELAYED105 TID33 Unknown Exception in DoPerSimStepLogic_OnMainThreadAndPartOfSim_HostOnly for faction AI Sentinels(Index 2), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception.

and
3/12/2024 6:31:32 AM 5.590 SINGLEP DELAYED107 TID37 Hit exception in GameCommand UnlinkPlanets. debugCode 200 System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.GameCommand_UnlinkPlanets.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x0008c] in <c33c69deb0bd456e844d775888096ce0>:0

BadgerBadger

Mar 12, 2024 10:25 am

manager   ~0068145

Wait, you have the Spire Infused Empire and the Fallen Spire at once? I don't think that's a supported configuration.

The Grand Mugwump

Mar 14, 2024 12:11 am

reporter   ~0068146

A random faction or the totally random map setting can add fallen spire to anything (including necro) without checking whether it should or not.

BadgerBadger

May 31, 2024 10:48 pm

manager   ~0068908

I've added some defensive code to the UnlinkPlanets code path

Issue History

Date Modified Username Field Change
Mar 12, 2024 8:40 am The Grand Mugwump New Issue
Mar 12, 2024 8:40 am The Grand Mugwump File Added: ArcenDebugLog.txt
Mar 12, 2024 8:40 am The Grand Mugwump File Added: fsdafd.save
Mar 12, 2024 10:24 am BadgerBadger Note Added: 0068144
Mar 12, 2024 10:25 am BadgerBadger Note Added: 0068145
Mar 14, 2024 12:11 am The Grand Mugwump Note Added: 0068146
May 31, 2024 10:48 pm BadgerBadger Note Added: 0068908