View Issue Details

IDProjectCategoryLast Update
0027740Heart Of The MachineBug - GameplayApr 26, 2023 1:22 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Fixed in Version0.301 Early Game Flow 
Summary0027740: AI Level and AIP issues on loading savegame.
Descriptionaip level set wrong, and ai level goes up wrong on loading a save
TagsNo tags attached.

Activities

Chris_McElligottPark

Apr 26, 2023 10:55 am

administrator   ~0067555

Note to Draco: I would suggest the following for repro:

1. Start a new game, and unlock a few techs. Note that the AIP goes up with techs unlocked, and then the AI Level goes up from AIP reaching certain levels.

2. Save said game and reload, and you'll observe that the AIP is some random amount, and the proper threshold is also not set for having the next level. And that the level has increased, probably because of this.

I am not sure what the order of operations on load is that is resulting in this.

Chris_McElligottPark

Apr 26, 2023 1:00 pm

administrator   ~0067563

Draco discovered InitializeFromMainThread is being called after deserialization, not before. I will fix this later.

Chris_McElligottPark

Apr 26, 2023 1:22 pm

administrator   ~0067565

* Fixed issues with all resources, including things like AIP, AI Level, and the machine materials, being wiped on load of a savegame.

Issue History

Date Modified Username Field Change
Apr 24, 2023 7:18 pm Chris_McElligottPark New Issue
Apr 24, 2023 7:18 pm Chris_McElligottPark Status new => assigned
Apr 24, 2023 7:18 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 26, 2023 10:54 am Chris_McElligottPark Assigned To Chris_McElligottPark => Draco18s
Apr 26, 2023 10:55 am Chris_McElligottPark Note Added: 0067555
Apr 26, 2023 1:00 pm Chris_McElligottPark Assigned To Draco18s => Chris_McElligottPark
Apr 26, 2023 1:00 pm Chris_McElligottPark Note Added: 0067563
Apr 26, 2023 1:22 pm Chris_McElligottPark Status assigned => resolved
Apr 26, 2023 1:22 pm Chris_McElligottPark Resolution open => fixed
Apr 26, 2023 1:22 pm Chris_McElligottPark Fixed in Version => 0.301 Early Game Flow
Apr 26, 2023 1:22 pm Chris_McElligottPark Note Added: 0067565