View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0024791 | AI War 2 | Bug - Other | May 2, 2021 11:08 am | May 5, 2021 8:46 pm | |
Reporter | Darkshade | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.815 Polishing And Bugfixing | ||||
Fixed in Version | 2.899 Almost Press Build | ||||
Summary | 0024791: AI-faction got shut down | ||||
Description | Like the title said, one of the AI-Faction got shut down during my current game, it resumes functioning after quitting and loading the last (auot)save again though | ||||
Tags | No tags attached. | ||||
|
|
|
The 023 save was the last save before it happened, the autosave when(/after?) it happened |
|
5/2/2021 4:47:25 PM 2.816 SINGLEP Exception in AI.DoLongRangePlanning_OnBackgroundNonSimThread_Subclass stage 206 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.Planet.GetWormholeTo (Arcen.AIW2.Core.Planet Other) [0x00001] in <9156e0c16ab5428481a39b50b8d0b92b>:0 at Arcen.AIW2.External.FactionUtilityMethods.IsShieldBlockingWormholeToPlanet (Arcen.AIW2.Core.Planet startPlanet, Arcen.AIW2.Core.Planet destinationPlanet, Arcen.AIW2.Core.Faction faction) [0x0000e] in <7e3ce8c558984a9aa7ae513c9aa97621>:0 at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass31_3.<DoLongRangePlanning_OnBackgroundNonSimThread_Subclass>b__2 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x003ba] in <7e3ce8c558984a9aa7ae513c9aa97621>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <9156e0c16ab5428481a39b50b8d0b92b>:0 at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass31_1.<DoLongRangePlanning_OnBackgroundNonSimThread_Subclass>b__0 (Arcen.AIW2.Core.Planet planet) [0x00323] in <7e3ce8c558984a9aa7ae513c9aa97621>:0 |
|
My code calls public static bool IsShieldBlockingWormholeToPlanet ( Planet startPlanet, Planet destinationPlanet, Faction faction ) { GameEntity_Other thisWormhole = startPlanet.GetWormholeTo( destinationPlanet ); <=== this function errors out if ( thisWormhole == null ) return false; //maybe if we jump between planets while LRP is running? |
|
Thanks! * Fixed a couple of rare cross-threading issues that could happen with ships moving between planets and the AI thinking about it in the background and then having a nullref exception. |
Date Modified | Username | Field | Change |
---|---|---|---|
May 2, 2021 11:08 am | Darkshade | New Issue | |
May 2, 2021 11:08 am | Darkshade | File Added: 023.save | |
May 2, 2021 11:08 am | Darkshade | File Added: 023.savemet | |
May 2, 2021 11:08 am | Darkshade | File Added: ArcenDebugLog.txt | |
May 2, 2021 11:08 am | Darkshade | File Added: Autosave at 9h 15m 0s.save | |
May 2, 2021 11:08 am | Darkshade | File Added: Autosave at 9h 15m 0s.savemet | |
May 2, 2021 11:08 am | Darkshade | File Added: shut_down.jpg | |
May 2, 2021 11:08 am | Darkshade | File Added: shut_down2.png | |
May 2, 2021 11:11 am | Darkshade | Note Added: 0061312 | |
May 2, 2021 11:33 am | BadgerBadger | Note Added: 0061313 | |
May 2, 2021 11:34 am | BadgerBadger | Note Added: 0061314 | |
May 5, 2021 8:46 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
May 5, 2021 8:46 pm | Chris_McElligottPark | Status | new => resolved |
May 5, 2021 8:46 pm | Chris_McElligottPark | Resolution | open => fixed |
May 5, 2021 8:46 pm | Chris_McElligottPark | Fixed in Version | => 2.899 Almost Press Build |
May 5, 2021 8:46 pm | Chris_McElligottPark | Note Added: 0061370 |