View Issue Details

IDProjectCategoryLast Update
0024011AI War 2Crash/ExceptionOct 20, 2020 4:44 pm
ReporterArides Assigned To 
Status newResolutionopen 
Product Version2.617 Calming For The Nerves 
Summary0024011: Value out of range ingame, then during save; "(Unknown field being saved)"
DescriptionHappened randomly in super-late game with civilian industry and AI civil war. Saved right after, happened again during save. Factions:
* 2 AIs (pretty standard)
* Civilian industry
* Zenith trader
* Dark Spire
* Dyson Sphere
* Human resistence (hacked into game)

Error + stacktrace:
---
Tried to write Int32 PosExceptNeg1, but passed value was: -2, which is out of range! Value set to -1 so your save would work. (Unknown field being saved)

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.Universal.ArcenSerializationBuffer.AddInt32 (Arcen.Universal.ReadStyle RStyle, System.Int32 Item, System.String FieldNameForErrors) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at SKCivilianIndustry.CivilianMilitia.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean IsForPartialSyncDuringMultiplayer) [0x00000] in <b4dcfff58e3d48e099272c53dc496f9f>:0
  at SKCivilianIndustry.Persistence.CivilianMilitiaExternalData.SerializeExternalData (System.Object[] Source, Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean IsForPartialSyncDuringMultiplayer) [0x00000] in <b4dcfff58e3d48e099272c53dc496f9f>:0
  at Arcen.Universal.ArcenExternalData.SerializeExternalDataTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.String ExternalDataHeader, System.Boolean IsForPartialSyncDuringMultiplayer) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.Universal.ArcenExternalDataLookup.SerializeExternalDataTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.String ExternalDataHeader, System.Boolean IsForPartialSyncDuringMultiplayer, System.Boolean IsForLastSettings) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.AIW2.Core.GameEntity_Squad.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.UltraEfficientStyle StyleForPKIDsIfNetworkSyncData) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.Core.PlanetFaction.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, SerializationCommandType SerializationCmdType, System.Boolean IsForLastSettings) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.Core.Planet.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, SerializationCommandType SerializationCmdType, System.Boolean IsForLastSettings) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.Core.Galaxy.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean IsForLastSettings) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.Core.World_AIW2.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean DoPartialSyncForDuringGameplay, System.Boolean IsForLastSettings) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.Universal.World.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Boolean DoPartialSyncForDuringGameplay, System.Boolean IsForLastSettings) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.Universal.World.SaveWorldToDisk (System.String SaveName, System.Collections.Generic.List`1[T] SavegameMetadata) [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.AIW2.External.GameCommand_SaveGame.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00000] in <628995f2510d47c0a087b8781ed1a38f>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.AIW2.External.SimPlannerImplementation.DoActualSimStep (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <628995f2510d47c0a087b8781ed1a38f>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessSimStep (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <166fc410968d4d2787830b5bbefb3fc7>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <ac97472bca9443a09df2642774dd4a1c>:0
  at ArcenGameController.Update () [0x00000] in <342846c60ad043638e2ec80b42611e65>:0
TagsNo tags attached.

Activities

Arides

Oct 20, 2020 3:59 pm

reporter   ~0059341

Log and save included
bug.save (1,596,487 bytes)
bug.savemet (84 bytes)
ArcenDebugLog.txt (427,880 bytes)

BadgerBadger

Oct 20, 2020 4:44 pm

manager   ~0059344

This is a bug specific to the Civilian Industry faction, so you should ask the modder (StarKelp) for help.

Issue History

Date Modified Username Field Change
Oct 20, 2020 3:57 pm Arides New Issue
Oct 20, 2020 3:59 pm Arides File Added: bug.save
Oct 20, 2020 3:59 pm Arides File Added: bug.savemet
Oct 20, 2020 3:59 pm Arides File Added: ArcenDebugLog.txt
Oct 20, 2020 3:59 pm Arides Note Added: 0059341
Oct 20, 2020 4:44 pm BadgerBadger Note Added: 0059344