View Issue Details

IDProjectCategoryLast Update
0023896AI War 2Crash/ExceptionOct 6, 2020 5:56 pm
ReporterSpyrooooooo Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.605 Hunter Intelligence 
Fixed in Version2.607 MP Stability, Exo Syncs, And Limbo Mods 
Summary0023896: Error message upon attempting to load Spire DLC save file via "Host Saved Game" multiplayer option with DLC disabled
DescriptionA multiplayer game was created with the Spire DLC activated (with the Fallen Spire faction present in game). The game was saved followed by quitting back to the main menu and disabling the DLC through the Settings > Game > The Spire Rises Enable/Disable option. After restarting the game by clicking "Continue & Close", the following error message was displayed upon attempting to select the save file using the "Host Saved Game" menu option:

10/5/2020 12:18:54 AM Error on button click: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.World_AIW2.GenerateMap (Arcen.AIW2.Core.Tutorial TutOrNullToUse) [0x000c6] in <3cbce079cbbc4664936089be5ccb7dcb>:0
  at Arcen.AIW2.External.Window_LoadQuickStartMenu+bStartGame.RestartCampaignData (System.Boolean IsForLobby, System.String CampaignNameToUse) [0x0001f] in <14313489f900467c98f040d6bd2763e1>:0
  at Arcen.AIW2.External.Window_LoadGameMenu+bStartLobby.HandleClick_Subclass (MouseHandlingInput input) [0x00070] in <14313489f900467c98f040d6bd2763e1>:0
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x0000f] in <14313489f900467c98f040d6bd2763e1>:0
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00029] in <e5733e6eaad44f18adac795632622aae>:0
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00012] in <e5733e6eaad44f18adac795632622aae>:0
TagsNo tags attached.

Activities

BadgerBadger

Oct 5, 2020 10:19 am

manager   ~0058977

While this should fail, having a better error message is important. Trying to figure out the combination of mods/expansions that a given save was made under could be a challenge, so if the game can tell you what's going on that would be great.

Chris_McElligottPark

Oct 5, 2020 3:47 pm

administrator   ~0058983

Huh, yeah, that used to fail with a really nice error message. I might have messed that up when I was making it so that it tries (and maybe succeeds, depends on the save) to load such a save into the lobby for further editing.

Would you mind posting the savegame in question? Every save is a bit different, and there's a good chance that not every save would behave wrongly exactly the same way.

---

Based on the above, this also looks like you were not trying to actually load the savegame, but rather that you were loading it into the lobby for further editing before starting over. The bStartLobby button thing in the settings there indicates that you clicked the "lobby" button rather than the "load" button. So it trying and failing to load actually is mostly by design, but it should fail silently if it fails, and just give you a default lobby instead. Right now it's actually surfacing an error to you, which is wrong.

Thanks!

Spyrooooooo

Oct 5, 2020 7:54 pm

reporter   ~0058992

My apologies, you are correct that I tried to load it into the lobby rather than loading the game save. Pressing the load game button actually resulted in nothing happening upon selecting the file. Perhaps a popup message to inform why the game won't load the would be helpful for people (incompatible DLC/mods etc.), if this isn't already planned.

Nevertheless, as requested I've attached the save files that generated the visible error report.
a.save (220,977 bytes)
a.savemet (83 bytes)

Chris_McElligottPark

Oct 6, 2020 5:18 pm

administrator   ~0059034

I have made a few changes today that might have fixed this, but I'm not sure. At any rate, in the upcoming version when I try to load that savegame with no DLC or mods enabled, I get the attached screen. I'll try loading them into the lobby next.
errorOnLoad.PNG (491,673 bytes)

Chris_McElligottPark

Oct 6, 2020 5:19 pm

administrator   ~0059035

Trying to load it into the lobby does indeed still cause an exception to happen, which is not the intended behavior there.

Chris_McElligottPark

Oct 6, 2020 5:56 pm

administrator   ~0059038

Thanks!

* GenerateMap() now gives better errors if it has any, and there are several more places where it repairs bad data if it can't find things it was expecting.
** This often applies to something like trying to load a savegame into the lobby for editing when it includes explicit content from DLC or mods you don't have.

* If you try to load a savegame or quickstart into the lobby and it requires mods or expansions you don't have installed or enabled, then it will give a nice error message complaining about that rather than a hodgepodge of death error messages.

Issue History

Date Modified Username Field Change
Oct 5, 2020 2:31 am Spyrooooooo New Issue
Oct 5, 2020 10:19 am BadgerBadger Note Added: 0058977
Oct 5, 2020 10:19 am BadgerBadger Assigned To => Chris_McElligottPark
Oct 5, 2020 10:19 am BadgerBadger Status new => assigned
Oct 5, 2020 3:47 pm Chris_McElligottPark Note Added: 0058983
Oct 5, 2020 7:54 pm Spyrooooooo File Added: a.save
Oct 5, 2020 7:54 pm Spyrooooooo File Added: a.savemet
Oct 5, 2020 7:54 pm Spyrooooooo Note Added: 0058992
Oct 6, 2020 5:18 pm Chris_McElligottPark File Added: errorOnLoad.PNG
Oct 6, 2020 5:18 pm Chris_McElligottPark Note Added: 0059034
Oct 6, 2020 5:19 pm Chris_McElligottPark Note Added: 0059035
Oct 6, 2020 5:56 pm Chris_McElligottPark Status assigned => resolved
Oct 6, 2020 5:56 pm Chris_McElligottPark Resolution open => fixed
Oct 6, 2020 5:56 pm Chris_McElligottPark Fixed in Version => 2.607 MP Stability, Exo Syncs, And Limbo Mods
Oct 6, 2020 5:56 pm Chris_McElligottPark Note Added: 0059038