View Issue Details

IDProjectCategoryLast Update
0023901AI War 2Crash/ExceptionOct 6, 2020 8:56 pm
ReporterAsteroid Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.606 Lurking And Influencing 
Fixed in Version2.607 MP Stability, Exo Syncs, And Limbo Mods 
Summary0023901: Impossible to start custom game due to Praetorian Guard generation error
DescriptionI've put the error I get in the screenshots, as well as the settings I'm trying to use. The game pops up the same error "SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)" if I try to press the Start Game button again.
TagsNo tags attached.

Relationships

related to 0023806 resolvedChris_McElligottPark Exception for praetorian during seed entitied 

Activities

Asteroid

Oct 6, 2020 12:57 am

reporter  

2020-10-06 00_42_58-AIWar2.png (52,093 bytes)   
2020-10-06 00_42_58-AIWar2.png (52,093 bytes)   
ArcenDebugLog.txt (6,220 bytes)   
10/6/2020 12:23:35 AM	Start load save: G:/SteamLibrary/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings
10/6/2020 12:23:36 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:23:36 AM	Clear out factions that should not be in UI based on savegame: 10  Macrophage Infestation - Tamed  Human Resistance Fighters  Marauders  Devourer Golem  Outguard  Cross Planet Attack  Anti-Player Zombie  Anti-Everyone Zombie  Anti-AI Zombie  AI Reserves
10/6/2020 12:23:36 AM	loading as template
10/6/2020 12:23:36 AM	Added the faction AIReserves.
10/6/2020 12:23:36 AM	Added the faction AntiAIZombie.
10/6/2020 12:23:36 AM	Added the faction AntiEveryoneZombie.
10/6/2020 12:23:36 AM	Added the faction AntiPlayerZombie.
10/6/2020 12:23:36 AM	Added the faction CPALogic.
10/6/2020 12:23:36 AM	Added the faction Mercenary.
10/6/2020 12:23:36 AM	Finish load save in 401.2ms
10/6/2020 12:23:36 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (StartingTheLobbyFromPrior LoadingLastLobbySettings)
10/6/2020 12:23:36 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:23:36 AM	Generate Partial Map Complete  161ms
10/6/2020 12:23:48 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:23:49 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:23:49 AM	Generate Partial Map Complete  173ms
10/6/2020 12:23:52 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:23:52 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:23:52 AM	Generate Partial Map Complete  91ms
10/6/2020 12:23:54 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:23:54 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:23:54 AM	Generate Partial Map Complete  90ms
10/6/2020 12:24:13 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:24:13 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:24:13 AM	Generate Partial Map Complete  157ms
10/6/2020 12:27:06 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:27:06 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:27:06 AM	Generate Partial Map Complete  127ms
10/6/2020 12:27:44 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:27:44 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:27:44 AM	Generate Partial Map Complete  106ms
10/6/2020 12:33:19 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:33:19 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:33:19 AM	Generate Partial Map Complete  133ms
10/6/2020 12:33:30 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 23 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:33:30 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:33:30 AM	Generate Partial Map Complete  71ms
10/6/2020 12:36:27 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:36:27 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:36:27 AM	Generate Partial Map Complete  82ms
10/6/2020 12:36:37 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:36:37 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:36:37 AM	Generate Partial Map Complete  110ms
10/6/2020 12:37:00 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:37:01 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:37:01 AM	Generate Partial Map Complete  308ms
10/6/2020 12:38:30 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:38:30 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:38:30 AM	Generate Partial Map Complete  73ms
10/6/2020 12:42:01 AM	Start Generate FULL Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (StartingMainGameAfterLobby NotLoadingAnything)
10/6/2020 12:42:01 AM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)


10/6/2020 12:42:01 AM	Generate Partial Map Complete  472ms
10/6/2020 12:45:11 AM	Start Generate Partial Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (RegenerateLobbyFromPlayerInput NotLoadingAnything)
10/6/2020 12:45:11 AM	PlayerAccount Positron has now been put in control of faction 1.
10/6/2020 12:45:11 AM	Generate Partial Map Complete  100ms
10/6/2020 12:45:25 AM	Start Generate FULL Map with Realistic and seed 1567666581 and planet count 80 and 28 factions (StartingMainGameAfterLobby NotLoadingAnything)
10/6/2020 12:45:26 AM	SeedStartingEntities_LaterEverythingElse: GetPraetorianGuardExternal was null on faction AI Praetorian Guard (index 9)


10/6/2020 12:45:26 AM	Generate Partial Map Complete  365ms
ArcenDebugLog.txt (6,220 bytes)   

BadgerBadger

Oct 6, 2020 1:18 am

manager   ~0059006

I believe resetting the lobby to its Defaults is a workaround.

Asteroid

Oct 6, 2020 2:06 am

reporter   ~0059008

I did something a bit more radical: since I hadn't touched the game in a while, I figured maybe I had leftovers custom-built dlls (though those should've been overriden by Steam) or some other stray file. So I uninstalled the game, wiped any and all files related to the game from all locations, and reinstalled. It did fix the problem. It's not the first time I run into this bug though.

Chris_McElligottPark

Oct 6, 2020 8:39 pm

administrator   ~0059052

Thanks! Part 1:

* Previously, if you had multiple AIs and then removed one of them, it would leave behind an extra Praetorian Guard faction that would then error out. Now, when you remove the extra AI faction it will also remove the extra PG subfaction.
** For existing lobbies that are unable to start, you can hit Reset To Defaults in order to work around this.

Chris_McElligottPark

Oct 6, 2020 8:56 pm

administrator   ~0059056

Thanks!

* Added a new remove_if_more_than_one_per_ai_prior_to_this field for factions, which is set to true for the hunter, warden, and praetorian guard sub-factions.
** This causes any extra of those sub-factions to be removed when you load up your lobby settings or quick start or whatever it is that you're loading into the lobby.
** This makes it so that existing bad data doesn't require resetting to defaults to get back to it.

Issue History

Date Modified Username Field Change
Oct 6, 2020 12:57 am Asteroid New Issue
Oct 6, 2020 12:57 am Asteroid File Added: 2020-10-06 00_42_58-AIWar2.png
Oct 6, 2020 12:57 am Asteroid File Added: 2020-10-06 00_43_23-AIWar2.png
Oct 6, 2020 12:57 am Asteroid File Added: 2020-10-06 00_43_36-AIWar2.png
Oct 6, 2020 12:57 am Asteroid File Added: 2020-10-06 00_44_18-AIWar2.png
Oct 6, 2020 12:57 am Asteroid File Added: 2020-10-06 00_44_53-AIWar2.png
Oct 6, 2020 12:57 am Asteroid File Added: ArcenDebugLog.txt
Oct 6, 2020 1:17 am BadgerBadger Relationship added related to 0023806
Oct 6, 2020 1:18 am BadgerBadger Note Added: 0059006
Oct 6, 2020 2:06 am Asteroid Note Added: 0059008
Oct 6, 2020 8:39 pm Chris_McElligottPark Note Added: 0059052
Oct 6, 2020 8:56 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 6, 2020 8:56 pm Chris_McElligottPark Status new => resolved
Oct 6, 2020 8:56 pm Chris_McElligottPark Resolution open => fixed
Oct 6, 2020 8:56 pm Chris_McElligottPark Fixed in Version => 2.607 MP Stability, Exo Syncs, And Limbo Mods
Oct 6, 2020 8:56 pm Chris_McElligottPark Note Added: 0059056