View Issue Details

IDProjectCategoryLast Update
0029636Heart Of The MachineCrash/ExceptionOct 30, 2024 3:49 pm
Reporterdlipiec Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.593.4 Tower Loss 
Fixed in Version0.593.5 Post-Apocalyptic Construction 
Summary0029636: Exception - There's an exception every time loading an older save after the last doom event
DescriptionDescription:
There's an exception every time loading a save after the last doom event. Exception only occurs on saves from before the update.

Steps to reproduce:
1. Boot the title
2. Load a save in which game is after the last doom event / load attached save
3. Notice an exception every time save is loaded

Actual result:
There's an exception every time loading a save after the last doom event.

Expected result:
No exception when loading older save past last doom event.
TagsNo tags attached.

Activities

dlipiec

Oct 30, 2024 2:26 pm

developer   ~0070629

29636_log.txt (1,282 bytes)   
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.HotM.Core.MachineStructure.ScrapStructureNow (Arcen.HotM.Core.ScrapReason Reason, Arcen.Universal.MersenneTwister Rand) [0x000c5] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
  at Arcen.HotM.Core.MachineStructure.DoPerSecondRecalculationsForStructureInner (System.Boolean IsFromDeserialization, System.Boolean DoExtraLogging) [0x00045] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
  at Arcen.HotM.Core.MachineStructure.DoPerSecondRecalculationsForStructure (System.Boolean IsFromDeserialization) [0x00001] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
  at Arcen.HotM.Core.MachineStructure.Deserialize (Arcen.Universal.DeserializedObjectLayer Data, Arcen.HotM.Core.MachineStructureType StructureType) [0x00548] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
  at Arcen.HotM.Core.SimCommon.DeserializeData_Early (Arcen.Universal.DeserializedObjectLayer Data) [0x011c4] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
  at Arcen.HotM.Core.WorldSaveLoad.DoLoad_OnBackgroundThreads (Arcen.Universal.TaskStartData startData, System.Boolean SkipMetagameContent) [0x001c5] in <ded489d59a8648a8a4aa1b532c97d12f>:0 
10/30/2024 7:20:29 PM	0.593.4	SINGLEP	DELAYED32 TID25 223ms to process 'DOOMtest/after' data fully.
29636_log.txt (1,282 bytes)   

dlipiec

Oct 30, 2024 2:27 pm

developer   ~0070630

29636_save.save (4,306,635 bytes)

dlipiec

Oct 30, 2024 2:28 pm

developer   ~0070631

29636.mp4 (8,083,718 bytes)   

Chris_McElligottPark

Oct 30, 2024 3:49 pm

administrator   ~0070635

Thanks!

* Fixed an issue that could happen with some of the new logic from the prior build where it was cleaning up destroyed buildings. However, it was trying to do this too soon after loading a savegame, thus leading to errors. It no longer does this logic during the load process.

Issue History

Date Modified Username Field Change
Oct 30, 2024 2:26 pm dlipiec New Issue
Oct 30, 2024 2:26 pm dlipiec Status new => assigned
Oct 30, 2024 2:26 pm dlipiec Assigned To => dlipiec
Oct 30, 2024 2:26 pm dlipiec Note Added: 0070629
Oct 30, 2024 2:26 pm dlipiec File Added: 29636_log.txt
Oct 30, 2024 2:27 pm dlipiec Note Added: 0070630
Oct 30, 2024 2:27 pm dlipiec File Added: 29636_save.save
Oct 30, 2024 2:28 pm dlipiec Note Added: 0070631
Oct 30, 2024 2:28 pm dlipiec File Added: 29636.mp4
Oct 30, 2024 2:30 pm dlipiec Assigned To dlipiec => Jan Kuzior
Oct 30, 2024 2:31 pm dlipiec Summary Exception - There's an exception every time loading a save after the last doom event => Exception - There's an exception every time loading an older save after the last doom event
Oct 30, 2024 2:38 pm Jan Kuzior Assigned To Jan Kuzior => Chris_McElligottPark
Oct 30, 2024 3:49 pm Chris_McElligottPark Status assigned => resolved
Oct 30, 2024 3:49 pm Chris_McElligottPark Resolution open => fixed
Oct 30, 2024 3:49 pm Chris_McElligottPark Fixed in Version => 0.593.5 Post-Apocalyptic Construction
Oct 30, 2024 3:49 pm Chris_McElligottPark Note Added: 0070635