View Issue Details

IDProjectCategoryLast Update
0023308AI War 2Crash/ExceptionJun 18, 2020 5:00 pm
ReporterANGRYABOUTELVES Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.074 FInt Hotfix 
Fixed in VersionBeta 2.076 Hotfix 
Summary0023308: Saves won't load
DescriptionHere's a bunch of saves I made in a fresh 2.073 game; they all throw errors and won't load.
TagsNo tags attached.

Relationships

related to 0023313 resolvedChris_McElligottPark Saves refusing to load. (Modded game) 

Activities

ANGRYABOUTELVES

Jun 16, 2020 11:37 pm

reporter  

Autosave.3000.save (432,566 bytes)
Autosave.2400.save (384,513 bytes)

ANGRYABOUTELVES

Jun 17, 2020 12:29 am

reporter   ~0057330

Here's a bunch of saves from 2.074 that also won't load, as well as the debug log. Here's an example of the kind of error I get when I save; when I get this error, the save isn't loadable.

6/17/2020 12:12:07 AM DoubleShot_Blue on planet Seahorse for faction PELINAL:System.Exception: To properly be stored, the value of each combat space coordinate must be between 167,233 and 232,767 but the coordinates passed in for 'WorldLocation' were X: 87,411 , Y: 81,530. These would be outside of the gravity well! Note that passing 0,0 is also fine, but that was not the case here.
  at ArcenSerializationAIWar2SpecificExtensions.AddArcenPointFromCombatSpace (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.ArcenPoint Pt, System.String FieldNameForErrors, Arcen.Universal.UEErrorStyle ErrorStyle) [0x00187] in <d447977610d248c18b997ebf333e4c29>:0
  at Arcen.AIW2.Core.GameEntity_Shot.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00038] in <d447977610d248c18b997ebf333e4c29>:0

And here's an example of the error I get when I try to load one of the broken savegames.

6/17/2020 12:16:05 AM GameEntity_Base deserialization error at stage 1000 from serialized version 2.074 loading into new version 2.074, error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.ArcenDeserializationBufferModern.GetNextBit () [0x00001] in <f84d149ae7944ccba1fe0e80816227bb>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperUltraEfficient (Arcen.Universal.UltraEfficientStyleData ueStyleData) [0x00077] in <f84d149ae7944ccba1fe0e80816227bb>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadIntUltraEfficient (Arcen.Universal.UltraEfficientStyle UEStyle, System.String FieldNameForErrors) [0x00041] in <f84d149ae7944ccba1fe0e80816227bb>:0
  at Arcen.Universal.ArcenDeserializationBuffer.FillIntUltraEfficient (Arcen.Universal.UltraEfficientStyle UEStyle, System.Int32& Target, System.String FieldNameForErrors) [0x00000] in <f84d149ae7944ccba1fe0e80816227bb>:0
  at ArcenSerializationAIWar2SpecificExtensions.ReadBig3PrimaryKeyID_PosNoDef (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String FieldNameForErrors) [0x00001] in <d447977610d248c18b997ebf333e4c29>:0
  at ArcenSerializationAIWar2SpecificExtensions.ReadBig3PrimaryKeyID_PosNoDef_WasPreviously (Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.Universal.UEWasPreviously WasPrev, Arcen.Universal.ReadStyle OldStyle, System.Int32 WasBeforeGameVerMajor, System.Int32 WasBeforeGameVersionMinor, System.String FieldNameForErrors) [0x00013] in <d447977610d248c18b997ebf333e4c29>:0
  at Arcen.AIW2.Core.GameEntity_Base.StartDeserializeFrom (Arcen.AIW2.Core.Planet Planet, Arcen.AIW2.Core.PlanetFaction Faction, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String PlaceDeserializingFromForDebugging, System.Boolean HideErrors, System.Boolean& HadCatastrophicFail) [0x0000e] in <d447977610d248c18b997ebf333e4c29>:0
Autosave.1200.save (369,054 bytes)
testing.save (364,727 bytes)
testing.savemet (90 bytes)
ArcenDebugLog.txt (885,427 bytes)

ZeusAlmighty

Jun 17, 2020 12:29 am

manager   ~0057331

Can no longer open save

ZeusAlmighty

Jun 17, 2020 12:46 am

manager   ~0057332

Here's another
overture.save (300,768 bytes)

BadgerBadger

Jun 17, 2020 12:59 am

manager   ~0057333

Chris, this is an interesting one. It doesn't seem to happen on fresh save games (ie "Start new game, save immediately, reload"). I haven't been able to generate a bad save myself, but its being reported by a number of people. ussdefiant on discord also reported some issues, as well as the people here.

ANGRYABOUTELVES

Jun 17, 2020 2:19 am

reporter   ~0057335

If it helps, I was trying to get some saves to show how the amount of hunter fleet the AI gets from allied marauders is out of whack. All the errors I've seen seem to be about saving the location of weapon projectiles, and I didn't have any problems until the AI started attacking the allied marauders, so maybe it's a problem that only shows up when combat between a minor faction and the AI happens.

ANGRYABOUTELVES

Jun 17, 2020 9:31 pm

reporter   ~0057354

I've managed to create a situation that reliably reproduces this bug. On the planet Ghost Mage, have the Cloaked Transport Strike Sleipnir unload its units, wait for a second or two for them to get shot at, reload the units into the transport, then attempt to save.
reproducible.save (409,578 bytes)

BadgerBadger

Jun 17, 2020 9:52 pm

manager   ~0057357

Unrelated, but I'm throwing in a nerf to hunter fleet income against player-allied marauders.

Chris_McElligottPark

Jun 18, 2020 4:38 pm

administrator   ~0057366

The reproducible case is a godsend, thank you for that! Looking into it now.

Chris_McElligottPark

Jun 18, 2020 5:00 pm

administrator   ~0057367

Thank you!

* Fixed a bug from the last couple of beta versions (maybe somehow just the most recent one, but that seems unlikely) where any savegame that had shots in flight would fail to load properly.
** All of the saves that were broken and unable to load should now be able to load fine, although we've not tested them exhaustively. Please let us know if you find any more.
** Huge thanks to ANGRYABOUTELVES for a savegame that let us reproduce this within a few seconds. Finding the bug was then a matter of turning on savegame logging, triggering a save that would be broken, trying to load it, and then comparing the differing outputs. Without that we would have had to go with examination of the failed load log alone.

Issue History

Date Modified Username Field Change
Jun 16, 2020 11:37 pm ANGRYABOUTELVES New Issue
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: cant get past mk2 planet bc threat .save
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: cant get past mk2 planet bc threat .savemet
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: Autosave.3000.save
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: Autosave.3000.savemet
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: 84 threat just waiting next door.save
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: 84 threat just waiting next door.savemet
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: Autosave.2400.save
Jun 16, 2020 11:37 pm ANGRYABOUTELVES File Added: Autosave.2400.savemet
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: AI sent 30 threat to blow up 1 mpst.save
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: AI sent 30 threat to blow up 1 mpst.savemet
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: Autosave.1200.savemet
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: Autosave.1200.save
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: testing.save
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: testing.savemet
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: 45 attacking threat at 18 mins.save
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: 45 attacking threat at 18 mins.savemet
Jun 17, 2020 12:29 am ANGRYABOUTELVES File Added: ArcenDebugLog.txt
Jun 17, 2020 12:29 am ANGRYABOUTELVES Note Added: 0057330
Jun 17, 2020 12:29 am ANGRYABOUTELVES Product Version Beta 2.073 Filesize Finalization => Beta 2.074 FInt Hotfix
Jun 17, 2020 12:29 am ZeusAlmighty File Added: zombie feeding_scourge v architrave.save
Jun 17, 2020 12:29 am ZeusAlmighty Note Added: 0057331
Jun 17, 2020 12:46 am ZeusAlmighty File Added: overture.save
Jun 17, 2020 12:46 am ZeusAlmighty Note Added: 0057332
Jun 17, 2020 12:54 am BadgerBadger Assigned To => Chris_McElligottPark
Jun 17, 2020 12:54 am BadgerBadger Status new => assigned
Jun 17, 2020 12:59 am BadgerBadger Note Added: 0057333
Jun 17, 2020 2:19 am ANGRYABOUTELVES Note Added: 0057335
Jun 17, 2020 9:31 pm ANGRYABOUTELVES File Added: reproducible.save
Jun 17, 2020 9:31 pm ANGRYABOUTELVES File Added: reproducible.savemet
Jun 17, 2020 9:31 pm ANGRYABOUTELVES Note Added: 0057354
Jun 17, 2020 9:52 pm BadgerBadger Note Added: 0057357
Jun 18, 2020 4:35 am Lord Of Nothing Relationship added related to 0023313
Jun 18, 2020 4:38 pm Chris_McElligottPark Note Added: 0057366
Jun 18, 2020 5:00 pm Chris_McElligottPark Status assigned => resolved
Jun 18, 2020 5:00 pm Chris_McElligottPark Resolution open => fixed
Jun 18, 2020 5:00 pm Chris_McElligottPark Fixed in Version => Beta 2.076 Hotfix
Jun 18, 2020 5:00 pm Chris_McElligottPark Note Added: 0057367