View Issue Details

IDProjectCategoryLast Update
0027035AI War 2Bug - GameplayApr 20, 2022 10:44 am
Reporterrem_tuas Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version4.023 Beacon Expansiveness 
Summary0027035: I can't play the game.
DescriptionI get one error log on first load and one more error on quick load of save data. when I IGNORE, I can't start the game because I can't load the save data.
TagsNo tags attached.

Activities

rem_tuas

Apr 19, 2022 4:18 am

reporter  

ArcenDebugLog.txt (1,624,805 bytes)

Chris_McElligottPark

Apr 19, 2022 9:26 am

administrator   ~0066128

The error on startup is thankfully just a cosmetic thing, really. But for the savegame that won't load, could you upload that? Looks like it is called All My Friends/4.save, but I can't tell much more about what is causing it to fail without having it in hand.

Thank you!

rem_tuas

Apr 19, 2022 2:23 pm

reporter   ~0066143

4.save (744,265 bytes)
4.savemet (116 bytes)   
GR
1201693618
12127
All My Friends
<color=#ff3232>Hard </color> Zombifyier
Difficulty 7
0
<color=#318ce7>rem</color>
4.savemet (116 bytes)   

Chris_McElligottPark

Apr 20, 2022 9:51 am

administrator   ~0066162

Okay, this is where I'm at so far:

* Added some extra logging to try to figure out what broke a specific savegame, but unfortunately after reviewing logs and code review, there are just no hints as to anything that would be wrong, going all the way back to the builds from March 25. At least a few bits of the code are more clear now in the logs.
** The next step is to go back to the original game version of this save and see if I can load it there, in which case I can do some differentials that will be more informative.

Chris_McElligottPark

Apr 20, 2022 9:58 am

administrator   ~0066163

All right, reverting to the older version still had the exception. So, this isn't a deserialization problem at all. I went back through and looked at your log in more detail -- further back up -- and saw that it had an exception while saving:

4/19/2022 7:54:20 AM 4.021 SINGLEP DELAYED356 TID67 Fleet SerializeTo exception at debugStage 1400, exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Fleet.SerializeTo (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean careAboutMembershipDetails, Arcen.Universal.SerializationCommandType SerializationCmdType) [0x003be] in <1de64b81e56341df98c895cd2d0236a5>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <18861796d9314728bf8fd5b91da78981>:0
  at Arcen.AIW2.Core.Fleet.SerializeTo (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean careAboutMembershipDetails,

Unfortunately, what this means is that this particular savegame is absolutely toast. It had data corruption while in the process of saving (that's very very rare), and so it can't be loaded. If you have a recent autosave in that campaign, I'd recommend using that, as it should work fine.

I'm going to look into some of the errors that I see in your log before I close this ticket, to prevent this sort of thing from happening again, but this specific save won't be salvageable, I'm afraid. Really sorry about that.

Chris_McElligottPark

Apr 20, 2022 10:38 am

administrator   ~0066164

* Put in some self-correction for null FleetMember groups inside fleets.

Chris_McElligottPark

Apr 20, 2022 10:44 am

administrator   ~0066165

Okay, this is as solved as I can make it. Essentially, it looks like some bad data appeared, you started getting flooded with errors, and then 45 seconds later you made this savegame. But this savegame was affected by the same flood of errors that led you to stop in the first place, corrupting it. I've put in self-correct code now that will prevent this sort of error from coming up, but I can't salvage the specific savegame.

Again, apologies, and thank you for sharing the log and the save!

Issue History

Date Modified Username Field Change
Apr 19, 2022 4:18 am rem_tuas New Issue
Apr 19, 2022 4:18 am rem_tuas File Added: ArcenDebugLog.txt
Apr 19, 2022 9:18 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 19, 2022 9:18 am Chris_McElligottPark Status new => assigned
Apr 19, 2022 9:26 am Chris_McElligottPark Status assigned => feedback
Apr 19, 2022 9:26 am Chris_McElligottPark Note Added: 0066128
Apr 19, 2022 2:23 pm rem_tuas Note Added: 0066143
Apr 19, 2022 2:23 pm rem_tuas File Added: 4.save
Apr 19, 2022 2:23 pm rem_tuas File Added: 4.savemet
Apr 19, 2022 2:23 pm rem_tuas Status feedback => assigned
Apr 20, 2022 9:51 am Chris_McElligottPark Note Added: 0066162
Apr 20, 2022 9:58 am Chris_McElligottPark Note Added: 0066163
Apr 20, 2022 10:38 am Chris_McElligottPark Note Added: 0066164
Apr 20, 2022 10:44 am Chris_McElligottPark Status assigned => resolved
Apr 20, 2022 10:44 am Chris_McElligottPark Resolution open => fixed
Apr 20, 2022 10:44 am Chris_McElligottPark Note Added: 0066165