View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0024289 | AI War 2 | GUI | Dec 30, 2020 8:49 pm | Dec 22, 2021 5:18 pm | |
Reporter | poljik2 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.711 Deep Memories | ||||
Summary | 0024289: Issue starting a new custom game | ||||
Description | When trying to start a new custom game, a series of errors are produced. The end result is that I cannot add any custom factions, and it appears that my player profile is decoupled from the playable human faction. Attached below is the snippet of error log relevant to the issue. | ||||
Tags | No tags attached. | ||||
|
Error log snippet.txt (4,408 bytes)
12/30/2020 7:44:26 PM 2.711 SINGLEP Start load save: E:/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings 12/30/2020 7:44:26 PM 2.711 SINGLEP Error loading world: The savegame you are trying to load had the following fatal error: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.DoPostWorldLoadProcessing (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Int32& debugStage) [0x00253] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, System.Boolean DoPartialSyncForDuringGameplay) [0x00f97] in <2999c10a5cec487fa52e0d95537784e8>:0 12/30/2020 7:44:26 PM 2.711 SINGLEP The savegame you are trying to load had the following fatal error: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.DoPostWorldLoadProcessing (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Int32& debugStage) [0x00253] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, System.Boolean DoPartialSyncForDuringGameplay) [0x00f97] in <2999c10a5cec487fa52e0d95537784e8>:0 12/30/2020 7:44:26 PM 2.711 SINGLEP Did not load save: E:/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save 12/30/2020 7:44:26 PM 2.711 SINGLEP Finish load save in 32.8ms 12/30/2020 7:44:26 PM 2.711 SINGLEP Error on button click: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <2999c10a5cec487fa52e0d95537784e8>:0 at Arcen.AIW2.External.EndpointFunctions.SetDefaultsForLobby () [0x000e6] in <dceabd3149d5439dbcd146a0fe4ae4fa>:0 at Arcen.AIW2.External.Window_MainMenu+bCustomStartGame.StartCustomGame (System.Boolean StartInSinglePlayer) [0x00089] in <dceabd3149d5439dbcd146a0fe4ae4fa>:0 at Arcen.AIW2.External.Window_MainMenu+bCustomStartGame.HandleClick_Subclass (MouseHandlingInput input) [0x00001] in <dceabd3149d5439dbcd146a0fe4ae4fa>:0 at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x0000f] in <dceabd3149d5439dbcd146a0fe4ae4fa>:0 at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00029] in <24bfed508dd4496f872699bda7fd0ab5>:0 at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00012] in <24bfed508dd4496f872699bda7fd0ab5>:0 |
|
I'd like to fix this, but this is a two-pronged problem. Would you mind uploading the file you find here? [GameLocation]\PlayerData\Save\_Internal\LastLobbySettings.save After you upload that, you can delete that file and your problems will go away. Right now, the problem is that whatever was going on in your most recent settings -- from whatever version -- are partially loading, but then causing lots of problems after that partial load. Without being able to replicate it locally, it's hard for me to fix, since it's probably a whole host more errors that will happen after I fix the ones that you saw directly. These usually cascade. I can either fix it to dump the save file if it errors that hard (if I have to), or fix it to read whatever is actually going on there. I will probably wind up doing both. In the meantime, you can work around it by deleting that one file, but ideally you should never ever have to do that, so that's something for me to fix for sure. Thanks! |
|
Thanks for looking into this, the file in question is attached. Cheers! |
|
Hrm, this is odd. Even after deleting the lobby save file, it appears to regenerate with its "last modified time" being yesterday. It's still outputting errors, which are probably the same but I'll attach the log just in case. New log.txt (4,409 bytes)
12/31/2020 5:55:21 PM 2.712 SINGLEP Start load save: E:/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save Source1: StartingTheLobbyFromPrior Source3: LoadingLastLobbySettings 12/31/2020 5:55:21 PM 2.712 SINGLEP Error loading world: The savegame you are trying to load had the following fatal error: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.DoPostWorldLoadProcessing (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Int32& debugStage) [0x00253] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, System.Boolean DoPartialSyncForDuringGameplay) [0x00f97] in <ead4e18ec6c24091b982eff24032082f>:0 12/31/2020 5:55:21 PM 2.712 SINGLEP The savegame you are trying to load had the following fatal error: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.DoPostWorldLoadProcessing (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Int32& debugStage) [0x00253] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, System.Boolean DoPartialSyncForDuringGameplay) [0x00f97] in <ead4e18ec6c24091b982eff24032082f>:0 12/31/2020 5:55:21 PM 2.712 SINGLEP Did not load save: E:/Steam/steamapps/common/AI War 2/PlayerData/Save/_Internal/LastLobbySettings.save 12/31/2020 5:55:21 PM 2.712 SINGLEP Finish load save in 141.4ms 12/31/2020 5:55:21 PM 2.712 SINGLEP Error on button click: System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.World_AIW2.Helper_MakeSureFactionIsSetUpForPlayer (System.Int32 j, System.Int32 i, Arcen.AIW2.Core.Faction faction, Arcen.Universal.PlayerAccount account, System.Boolean OverrideDefaultColors) [0x000b5] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.Core.World_AIW2.AssignPlayersToFactionsAfterClearingAllPlayerFactionLinks (System.Boolean ComplainIfCannnotFindPlaceToPut, System.Boolean OverrideDefaultColors, System.Boolean ActuallyClearExistingLinks) [0x002ba] in <ead4e18ec6c24091b982eff24032082f>:0 at Arcen.AIW2.External.EndpointFunctions.SetDefaultsForLobby () [0x000e6] in <308fa32c51084c3291e5eb6daa81eafb>:0 at Arcen.AIW2.External.Window_MainMenu+bCustomStartGame.StartCustomGame (System.Boolean StartInSinglePlayer) [0x00089] in <308fa32c51084c3291e5eb6daa81eafb>:0 at Arcen.AIW2.External.Window_MainMenu+bCustomStartGame.HandleClick_Subclass (MouseHandlingInput input) [0x00001] in <308fa32c51084c3291e5eb6daa81eafb>:0 at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x0000f] in <308fa32c51084c3291e5eb6daa81eafb>:0 at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00029] in <da9a258b660248fd907c3d6b1658273a>:0 at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00012] in <da9a258b660248fd907c3d6b1658273a>:0 |
|
Alright, I have an update: I was able to fix the issue by getting the LastLobbySettings.save file from a friend of mine. After I replaced my clearly corrupted file, everything worked fine. Prior to this, I had deleted the file in question, verified the game cache through Steam, and uninstalled and reinstalled. Perhaps this issue was unique to me, and it will no longer require attention. |
|
I do plan to use your version to figure out a bug, but this week has been incredibly hectic for me and I haven't been able to get to as many work items as I wanted. I'm glad you have it sorted, but I'm also really grateful for the files you shared, because I do want to stop it from happening in similar circumstances in the future. I should have shared my copy of the lobby settings with you, sorry about that. I should have thought of that! |
|
Fixed a while back, thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
Dec 30, 2020 8:49 pm | poljik2 | New Issue | |
Dec 30, 2020 8:49 pm | poljik2 | File Added: Error log snippet.txt | |
Dec 31, 2020 2:40 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Dec 31, 2020 2:40 pm | Chris_McElligottPark | Status | new => feedback |
Dec 31, 2020 2:40 pm | Chris_McElligottPark | Note Added: 0060208 | |
Dec 31, 2020 6:21 pm | poljik2 | File Added: LastLobbySettings.save | |
Dec 31, 2020 6:21 pm | poljik2 | Note Added: 0060209 | |
Dec 31, 2020 6:21 pm | poljik2 | Status | feedback => assigned |
Dec 31, 2020 7:06 pm | poljik2 | File Added: New log.txt | |
Dec 31, 2020 7:06 pm | poljik2 | File Added: LastLobbySettings-2.save | |
Dec 31, 2020 7:06 pm | poljik2 | Note Added: 0060211 | |
Jan 8, 2021 11:36 pm | poljik2 | Note Added: 0060255 | |
Jan 9, 2021 6:16 pm | Chris_McElligottPark | Note Added: 0060258 | |
Dec 22, 2021 5:18 pm | Chris_McElligottPark | Status | assigned => resolved |
Dec 22, 2021 5:18 pm | Chris_McElligottPark | Resolution | open => fixed |
Dec 22, 2021 5:18 pm | Chris_McElligottPark | Note Added: 0063554 |