View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023170 | AI War 2 | Crash/Exception | Apr 27, 2020 9:49 pm | Apr 28, 2020 10:24 am | |
Reporter | Arc-3N-4B | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.031 Faction Color Choice | ||||
Fixed in Version | 2.032 Savegame Hotfix | ||||
Summary | 0023170: Game saved immediately prior to update will not load. | ||||
Description | Summary describes it - instead of loading the game, which was stopped and saved via Save and Exit immediately prior to updating [update hit mid-playthrough], it gives an exception and does not load. The autosave additionally does not load. All saves and debug log attached. | ||||
Tags | No tags attached. | ||||
related to | 0023171 | resolved | Chris_McElligottPark | Game won't load save file - Steam |
|
|
|
This is a save game from the beta, right? The error is 4/27/2020 7:53:47 PM Planet deserialization error at stage 15000, error: System.FormatException: string length expected was: 37708 at Arcen.Universal.ArcenDeserializationBuffer.ReadString () [0x000ea] in <caafb75a2d1e45a6a812e75cd43349f5>:0 at Arcen.Universal.ArcenExternalData.DeserializeFrom (System.Object ParentObject, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0000b] in <caafb75a2d1e45a6a812e75cd43349f5>:0 at Arcen.Universal.ArcenExternalDataLookup.DeserializeFrom (System.Object ParentObject, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00017] in <caafb75a2d1e45a6a812e75cd43349f5>:0 at Arcen.AIW2.Core.Planet.DeserializeFrom (Arcen.AIW2.Core.Galaxy ForGalaxy, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors) [0x00693] in <3d12868c9e714c15b9b92f7966309c05>:0 Chris, for serialization, there are a bunch of changes to save games in DLC2 because I'm not trying to be save compatible there yet (I'm planning on starting to do that once I have the core of the Dark Zenith serialization fields figured out). The changes I'm worried about from my end are a change in the Galaxy serialization (a new boolean field, "NewPlanetsSpawned") and this change on the Planet object public static Planet DeserializeFrom( Galaxy ForGalaxy, ArcenDeserializationBuffer Buffer, bool LoadAsTemplate, bool HideErrors ) .... if ( Buffer.FromGameVersion.GetGreaterThanOrEqualTo( 2, 031 ) ) <=== this is the only change in this code path result.OverrideScienceAmount = Buffer.ReadInt32(); .... debugStage = 15000; result.ExternalData.DeserializeFrom( result, Buffer ); A bit of debug testing suggests that this happens for the very first planet (in Autosave.1800, this is "Clinda") I did try some old save games, but I didn't try a super recent one. |
|
I am currently opted out of all beta programs on Steam. I saw an update had hit, so I saved my game, exited, let Steam update, and tried to reload, running into this planet deserialization error. |
|
So potentially any changes during the beta could have been the problem, not just the most recent patch (as I was worried about in my previous comment). That's very helpful. Chris, I've thrown this one at you for now. If you're super busy then I can take a look at it tomorrow evening. |
|
I'll see what I can see -- thanks. |
|
Thank you! Sorry about this. * When a savegame fails to deserialize, it now mentions what version it was serialized as, and what it's trying to deserialize into. This takes some guesswork out on our part. * Fixed a bug where savegames made in 2.026 could not be loaded in 2.031. A few weeks ago we had some internal confusion over version numbering that led to this. The fix will make all mainline 2.026 savegames function again, and anything saved in 2.025 or prior was already fine. ** It's possible that a very few savegames from the beta branch that were saved in an "alternate timeline" sort of 2.026 will now fail to load, but there should be a handful of those at most, and mostly in the hands of our developers or most-core testers. And for most of them, their saves were already on 2.029, which again would not have been affected previously or now. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 27, 2020 9:49 pm | Arc-3N-4B | New Issue | |
Apr 27, 2020 9:49 pm | Arc-3N-4B | File Added: ArcenDebugLog.txt | |
Apr 27, 2020 9:49 pm | Arc-3N-4B | File Added: 1.save | |
Apr 27, 2020 9:49 pm | Arc-3N-4B | File Added: 1.savemet | |
Apr 27, 2020 9:49 pm | Arc-3N-4B | File Added: Autosave.1800.save | |
Apr 27, 2020 9:49 pm | Arc-3N-4B | File Added: Autosave.1800.savemet | |
Apr 27, 2020 10:17 pm | BadgerBadger | Note Added: 0056949 | |
Apr 27, 2020 10:18 pm | BadgerBadger | Note Edited: 0056949 | |
Apr 27, 2020 10:32 pm | Arc-3N-4B | Note Added: 0056950 | |
Apr 28, 2020 12:09 am | BadgerBadger | Note Added: 0056951 | |
Apr 28, 2020 12:10 am | BadgerBadger | Assigned To | => Chris_McElligottPark |
Apr 28, 2020 12:10 am | BadgerBadger | Status | new => assigned |
Apr 28, 2020 12:10 am | BadgerBadger | Note Edited: 0056951 | |
Apr 28, 2020 12:11 am | BadgerBadger | Note Edited: 0056951 | |
Apr 28, 2020 10:11 am | Chris_McElligottPark | Note Added: 0056952 | |
Apr 28, 2020 10:12 am | BadgerBadger | Relationship added | related to 0023171 |
Apr 28, 2020 10:24 am | Chris_McElligottPark | Status | assigned => resolved |
Apr 28, 2020 10:24 am | Chris_McElligottPark | Resolution | open => fixed |
Apr 28, 2020 10:24 am | Chris_McElligottPark | Fixed in Version | => 2.032 Savegame Hotfix |
Apr 28, 2020 10:24 am | Chris_McElligottPark | Note Added: 0056955 |