View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0024853 | AI War 2 | Crash/Exception | May 9, 2021 1:34 pm | May 10, 2021 9:04 pm | |
Reporter | GreatYng | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.902 Rather Refined Ghosts | ||||
Fixed in Version | 2.903 Journals For Miles | ||||
Summary | 0024853: Fatal faction error in Sentinels(Index 2); faction shut down | ||||
Description | So that happened. Seems to be working fine on restart. Might have coincided with an autosave (that I accidentally removed). Attached a manual save from a second later. Reloading an earlier save did not reproduce the issue. DebugLog: 5/9/2021 7:07:05 PM 2.902 SINGLEP Hit exception in AnalyzeFriendlyToHostileBalance debugCode 200 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.SpecialFaction_AI.AnalyzeFriendlyToHostileBalance (System.Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet targetPlanet, System.Int32& currentLevel, System.Int32& threshold) [0x00024] in <ed3cc0412c854ae5a7520acf1cdc2a4b>:0 5/9/2021 7:07:05 PM 2.902 SINGLEP Unknown Exception in DoLongRangePlanning_OnBackgroundNonSimThread 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. | ||||
Tags | No tags attached. | ||||
|
|
|
I've added more defensive code |
|
Thanks! * Fixed several issues in AnalyzeFriendlyToHostileBalance() that could happen as cross-threading errors even in single player, causing the AI sentinels faction to shut down. This was quite rare. (Badger, this also needed the local variable treatment.) |
Date Modified | Username | Field | Change |
---|---|---|---|
May 9, 2021 1:34 pm | GreatYng | New Issue | |
May 9, 2021 1:34 pm | GreatYng | File Added: Error doLongRangePlanning.save | |
May 9, 2021 2:33 pm | BadgerBadger | Note Added: 0061458 | |
May 10, 2021 9:04 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
May 10, 2021 9:04 pm | Chris_McElligottPark | Status | new => resolved |
May 10, 2021 9:04 pm | Chris_McElligottPark | Resolution | open => fixed |
May 10, 2021 9:04 pm | Chris_McElligottPark | Fixed in Version | => 2.903 Journals For Miles |
May 10, 2021 9:04 pm | Chris_McElligottPark | Note Added: 0061481 |