View Issue Details

IDProjectCategoryLast Update
0023152AI War 2Crash/ExceptionApr 20, 2020 3:56 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.027 Planetary Mathematics 
Fixed in VersionBeta 2.028 Eat Bad Lobby Saves 
Summary0023152: Can't start game in beta
DescriptionI downloaded the new beta on a steam build (no dev code).
I tried to start a new custom game but I couldn't; the error was
Exception occurred during world deserialization:IndexOutOfRangeException
Will now log details in WorldDeserializationErrors.txt
                                                                                                                                                                             
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.ArcenDeserializationBuffer.ReadString () [0x00313] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.Fill (System.String& Target) [0x00000] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.MessageLogEntry.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0000e] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.FillList[T] (System.Collections.Generic.List`1[T] Target) [0x00013] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.MessageLog.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00001] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.Fill[T] (T& Target) [0x0000c] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) \
[0x002ac] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion)\
 [0x00042] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.LoadWorldFromDiskNoCampaignNameSet (System.String FullSaveName, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) [0x0\

The WorldDeserialization text was
4/16/2020 3:11:18 PM (2.027) Mem: 500,150,272 Mode: Off Plat:LinuxPlayer^M
-----------------------------------IndexOutOfRangeException-----------------------------------^M
Index was outside the bounds of the array.
                                                                                                                                                                             
  at Arcen.Universal.ArcenDeserializationBuffer.ReadString () [0x00313] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.Fill (System.String& Target) [0x00000] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.MessageLogEntry.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0000e] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.FillList[T] (System.Collections.Generic.List`1[T] Target) [0x00013] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.MessageLog.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00001] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.ArcenDeserializationBuffer.Fill[T] (T& Target) [0x0000c] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) \
[0x002ac] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion)\
 [0x00042] in <88518c8a94d24cd0b2ec184dab37f286>:0
  at Arcen.Universal.World.LoadWorldFromDiskNoCampaignNameSet (System.String FullSaveName, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) [0x0\
0035] in <88518c8a94d24cd0b2ec184dab37f286>:0
                                                                                                                                                                             
inputBuffer:
this is a binary buffer, spitting it out wouldn't help much
~*~
this is a buzzsaw binary buffer, spitting it out wouldn't help much^M
^M
TagsNo tags attached.

Relationships

related to 0023158 closedChris_McElligottPark Savegame become unreadable 

Activities

BadgerBadger

Apr 16, 2020 5:17 pm

manager   ~0056869

Last edited: Apr 16, 2020 5:34 pm

I then quit the application and restarted it and things worked fine. ???

On my dev build quickstarts work, but clicking for the custom game menu fails:
You're trying to load a savegame from version ???, but you're at version 2.027. Sorry, no can do!

  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 <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.World.LoadWorldFromDiskNoCampaignNameSet (System.String FullSaveName, System.Boolean LoadAsTemplate, Arcen.Universal.GameVersion& FromGameVersion) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.Engine_Universal.LoadGameNoCampaignNameSet_NeverCallDirectly_P1 (System.String FullSaveGameName, System.Boolean LoadAsTemplate) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.AIW2.Core.Engine_AIW2.LoadGameNoCampaignNameSet (System.String FullSaveGameName, Arcen.AIW2.Core.StartWorldSource1 StartSource1, Arcen.AIW2.Core.StartWorldSource2 StartSource2) [0x00000] in <2e9e17db6c2647728220392c90a2581a>:0
  at Arcen.AIW2.External.Window_MainMenu+bCustomStartGame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <8f7d816aa9ad46e6a85fae3e8491e94b>:0
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <8f7d816aa9ad46e6a85fae3e8491e94b>:0
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <b15359f08d8640e48588a0ea66af90cb>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0

BadgerBadger

Apr 16, 2020 5:38 pm

manager   ~0056870

Possibly related to the fact that my steam build does not have ZO installed?

Chris_McElligottPark

Apr 16, 2020 8:16 pm

administrator   ~0056873

I'll check it out, but ZO should be active on your steam build -- as a developer, it's not optional for you to have the DLC and so on installed, it just happens. I'm guessing it has something to do with the save state there, I'm not sure.

Tomorrow is going to be "fun" tracking these items down.

BadgerBadger

Apr 16, 2020 8:31 pm

manager   ~0056874

When I look at my steam-only build I see
4/16/2020 3:59:44 PM Expansions: The Spire Rises (Installed!) Zenith Onslaught (NOT INSTALLED)

My steam/dev setup does have ZO installed.

Chris_McElligottPark

Apr 17, 2020 1:55 pm

administrator   ~0056890

From each thing, can you upload your PlayerData/Save/_Internal/LastLobbySettings.save file?

So far, I can't duplicate problems with quick starts, custom starts, or savegames at all. It's all working great for me in beta and on my dev build. I am going to make it stop seeing the ZO build and see if that helps break things.

Chris_McElligottPark

Apr 17, 2020 2:05 pm

administrator   ~0056893

This may help some:

* If a savegame would be loading in and fails for some reason, then it now shows what the savegame name is rather than writing ???.
** In the event that for some reason your game version's name can't be found, it now shows you what game version it was trying to find. Sometimes this can be as simple as an artifact of someone doing custom development.

BadgerBadger

Apr 17, 2020 3:05 pm

manager   ~0056895

Fixed

Chris_McElligottPark

Apr 20, 2020 3:56 pm

administrator   ~0056920

Also this:

Thanks!

* Previously if you tried to load a savegame that was broken for some reason, then it would give you a warning about that but then keep on trying to load stuff, cascading errors upon errors. Now it just stops and doesn't keep letting things get worse!
** This also makes it so that loading a broken save doesn't mean you have to restart the entire program or else things are funky and broken until you do, too!

* Additionally, previously if you had an exception while trying to load the "last settings" savegame for the lobby when you do a new custom start, it would just be all kinds of broken, making custom starts not possible. Now it instead notices the failure and just does a fresh "reset to defaults" type of start for you.
** In this path, to keep things smooth it doesn't even bother warning you now.

Issue History

Date Modified Username Field Change
Apr 16, 2020 5:13 pm BadgerBadger New Issue
Apr 16, 2020 5:13 pm BadgerBadger Status new => assigned
Apr 16, 2020 5:13 pm BadgerBadger Assigned To => Chris_McElligottPark
Apr 16, 2020 5:17 pm BadgerBadger Note Added: 0056869
Apr 16, 2020 5:34 pm BadgerBadger Note Edited: 0056869
Apr 16, 2020 5:38 pm BadgerBadger Note Added: 0056870
Apr 16, 2020 8:16 pm Chris_McElligottPark Note Added: 0056873
Apr 16, 2020 8:31 pm BadgerBadger Note Added: 0056874
Apr 17, 2020 1:55 pm Chris_McElligottPark Note Added: 0056890
Apr 17, 2020 1:59 pm Chris_McElligottPark Relationship added related to 0023158
Apr 17, 2020 2:05 pm Chris_McElligottPark Note Added: 0056893
Apr 17, 2020 3:05 pm BadgerBadger Status assigned => resolved
Apr 17, 2020 3:05 pm BadgerBadger Resolution open => fixed
Apr 17, 2020 3:05 pm BadgerBadger Fixed in Version => Beta 2.028 Eat Bad Lobby Saves
Apr 17, 2020 3:05 pm BadgerBadger Note Added: 0056895
Apr 20, 2020 3:56 pm Chris_McElligottPark Note Added: 0056920