View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0024991 | AI War 2 | Crash/Exception | May 19, 2021 9:46 am | May 22, 2021 10:42 pm | |
Reporter | Daniexpert | Assigned To | ZeusAlmighty | ||
Status | resolved | Resolution | fixed | ||
Product Version | 3.000 Begin The Onslaught | ||||
Summary | 0024991: Exception when "The monarch" outgard dies | ||||
Description | Whenever "The Monarch" outgard dies, it throws a fatal error. I'll attach the exception from the log. I'll also attach a save if you want to call it and try. I suggest calling it in the "Steyliff" system, it'll die quickly. | ||||
Tags | No tags attached. | ||||
related to | 0024976 | resolved | ZeusAlmighty | Outguard Fatal Exception: It's all the Monarch's Fault |
|
Exception_DoLongRangePlanning.txt (6,300 bytes)
5/19/2021 3:39:45 PM 3.000 SINGLEP Exception in DoLongRangePlanning_OnBackgroundNonSimThread for faction Outguard(Index 18), so will not run any more of those until a reload of the save. System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.SpecialFaction_Mercenary+<>c__DisplayClass27_0.<DoLongRangePlanning_OnBackgroundNonSimThread_Subclass>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00046] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0004d] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.External.SpecialFaction_Mercenary.DoLongRangePlanning_OnBackgroundNonSimThread_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContext Context) [0x00023] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning_OnBackgroundNonSimThread (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ILongRangePlanningContext Context) [0x00078] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.Core.Faction.Safe_DoLongRangePlanning_OnBackgroundNonSimThread (Arcen.AIW2.Core.ILongRangePlanningContext Context) [0x00024] in <6400cc815eea4e2ea40af55d8021c75a>:0 5/19/2021 3:39:45 PM 3.000 SINGLEP Unknown Exception in DoLongRangePlanning_OnBackgroundNonSimThread for faction Outguard(Index 18), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception. 5/19/2021 3:39:46 PM 3.000 SINGLEP Could not find group data for Starburst at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <5ed1887154de40748175ab1a4d96a8bc>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <5ed1887154de40748175ab1a4d96a8bc>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <5ed1887154de40748175ab1a4d96a8bc>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <5ed1887154de40748175ab1a4d96a8bc>:0 at Arcen.AIW2.External.SpecialFaction_Mercenary+<>c__DisplayClass33_0.<DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.External.SpecialFaction_Mercenary.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.Core.Faction.Safe_DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass73_0.<DoWorldSecondLogic_FromSimBGThread>b__3 (Arcen.AIW2.Core.Faction faction) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <6400cc815eea4e2ea40af55d8021c75a>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorld_Second_PerSecondLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <5b11802b8e074a5e9045c171f225d761>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 5/19/2021 3:39:46 PM 3.000 SINGLEP Unknown Exception in DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim for faction Outguard(Index 18), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception. |
|
I'm adding this save because when you unpause the game, the fatal error will trigger |
|
zeus, there seems to be a problem with this outguard group 5/19/2021 11:40:06 AM 3.000 SINGLEP Could not find group data for Starburst #93459 Outguard on Steyliff This error is causing all of the problems. Something is wrong with this outguard. |
|
Think I know what it is. This group spawns a unit called a "Viceroy", which is copied from the "Splash Cruiser". That Cruiser has these lines: build_points_per_damage_taken="1.5" unit_to_make_with_build_points_from_damage_taken="Starburst" Outguard Groups break if they try to spawn units like this, or via Drone guns. There was a fix put in almost 3 years ago, for the "Automated Construction Swarm" which spawns things on death. Commit 3472, near bottom of the commit message: * Protections and logging have been put in that should solve the problem of nullref exceptions after a mercenary unit spawns another mercenary unit on death. ** This hasn't been tested, so if it still breaks in the next version then we'll need a savegame, but that wasn't possible prior to now. And above the Mini Automated Construction Bot unit XML: " <!--Note from Chris: the game will find the proper faction for these by using the tag, which matches "Automated Construction Swarm" as the InternalName of the Outguard faction we want to add them to.-->" |
|
*Fixed the Monarch outguard (the viceroy, specifically) from causing the faction from shutting down. Removed the starburst from it so it doesn't trigger drones the outguard faction can't handle |
Date Modified | Username | Field | Change |
---|---|---|---|
May 19, 2021 9:46 am | Daniexpert | New Issue | |
May 19, 2021 9:46 am | Daniexpert | File Added: Exception_DoLongRangePlanning.txt | |
May 19, 2021 9:46 am | Daniexpert | File Added: Autosave at 2h 35m 0s.save | |
May 19, 2021 9:53 am | Daniexpert | File Added: fatalError2.save | |
May 19, 2021 9:53 am | Daniexpert | Note Added: 0061691 | |
May 19, 2021 9:54 am | Daniexpert | Severity | minor => major |
May 19, 2021 10:25 am | BadgerBadger | Relationship added | related to 0024976 |
May 19, 2021 1:41 pm | BadgerBadger | Assigned To | => ZeusAlmighty |
May 19, 2021 1:41 pm | BadgerBadger | Status | new => assigned |
May 19, 2021 1:42 pm | BadgerBadger | Note Added: 0061700 | |
May 19, 2021 2:41 pm | RocketAssistedPuffin | Note Added: 0061706 | |
May 22, 2021 10:42 pm | ZeusAlmighty | Status | assigned => resolved |
May 22, 2021 10:42 pm | ZeusAlmighty | Resolution | open => fixed |
May 22, 2021 10:42 pm | ZeusAlmighty | Note Added: 0061771 |