View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023159 | AI War 2 | Crash/Exception | Apr 17, 2020 3:07 pm | Apr 20, 2020 3:55 pm | |
Reporter | ParadoxSong | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 2.027 Planetary Mathematics | ||||
Fixed in Version | Beta 2.028 Eat Bad Lobby Saves | ||||
Summary | 0023159: Immediate deserialization exception on clicking Custom Start. (All the planets, GONE!!) | ||||
Description | Good news, guys. Found the bug on the beta :D Same as before, Win10/Steam beta. No game was initiated besides the Custom Start (which immediately threw an error) BUT I did click around the quickstarts- Specifically, Fun With Factions - Extreme - Fun With Factions - Harder, in that order. Then went to main menu without starting any and began a custom start. Which proceeded to have no planets except Churchill, as it tried to load the settings from my 2.026 game. Looks like it's based off the remembered settings from this save game, which is included for completeness. | ||||
Tags | No tags attached. | ||||
related to | 0023163 | resolved | Chris_McElligottPark | All planets are immediately explored while the option is not set. (8 planets explored! {List of All Planets}) |
|
|
|
Note: Switching on/off map type fixed the error, but it probably shouldn't be throwing it in the first place. Didn't get to test "Regenerate Map" though. |
|
If you quit the application and then reopen it and try again, what happens? |
|
I also observed the first time I started a game on a steam build that I hit problems, but after that it was fine. I bet this is recreatable by "Take a steam install on 2.026, upgrade to the beta, try to start a new game" |
|
Reopening the game does not repeat the behaviour, testing the 2.026 --> 2.027 thing for repeatability! |
|
SUPER interestingly, reverting to 2.026 throws an error on trying to generate there too, but this one isn't fixed by changing map type! It's just super broken!! Relaunching actually makes it WORSE! and on 2.027..... THE ERROR REMAINS! |
|
SirLimbo on the discord suggested deleting "SteamLibrary\steamapps\common\AI War 2\PlayerData\Profiles[your profile name].AIWPROF" could fix this incredible nuclear disaster, but I haven't gone through with it yet in case you might want that file. This is glorious. |
|
**NOTE: While no errors were thrown in-game, the engine and debug log did update through this, which I just checked after writing this and have uploaded. I haven't cleaned up the debug log but the latest version is different from the second one. Okay, so this bug persists through: Deleting the save folders in saves (except the _Internal folder) Deleting the contents of the Profiles folder Deleting the graphicssettings files (.bak and regular) Deleting inputmappings.dat/the other one (it didn't come back :() newsettings.bak.dat And doing all of this, at the same time. With Steam Cloud off, to boot. Likely tomorrow I will actually reinstall the game, but if anything else needs to be tested, or you want me to zip up some section of the game folders, I will do so. Ping me on the arcen Discord (@ParadoxSong) for best results. ErrorsReportedByEngine.txt (7,803 bytes)
11/8/2019 6:41:15 PM (1.006) Mem: 642,416,640 Mode: Host Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSquadAndShipUpdates () (at <6ac6832c6fb246cbbc0b840c38ec082c>:0) Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () (at <6ac6832c6fb246cbbc0b840c38ec082c>:0) Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () (at <6ac6832c6fb246cbbc0b840c38ec082c>:0) ArcenMainGameVisuals.Update () (at <f354f3b0e2574003a8b3d1401189cdf3>:0) 4/17/2020 4:49:08 PM (2.026) Mem: 481,423,360 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) PresentationLayer_AIW2.UpdateGameController () (at <42cdbc04d0864390bce71c1f3ec0f672>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <39e69c68937b46ad973ddaef9aa6ed2a>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <3576e689ef1b4df0b7c0d7b255492de6>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 4:53:32 PM (2.027) Mem: 482,713,600 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:02:23 PM (2.027) Mem: 481,845,248 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:04:14 PM (2.027) Mem: 482,652,160 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:06:56 PM (2.027) Mem: 483,721,216 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:10:49 PM (2.027) Mem: 494,854,144 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:16:15 PM (2.027) Mem: 487,174,144 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:22:12 PM (2.027) Mem: 481,263,616 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:27:58 PM (2.027) Mem: 482,267,136 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) 4/17/2020 5:31:33 PM (2.027) Mem: 484,552,704 Mode: Off Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: PresentationLayer_AIW2.UpdateGameController () (at <05bc21c420204efab218e1d4757559d9>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <102879e548a944f39c667a06df29eb99>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <88518c8a94d24cd0b2ec184dab37f286>:0) ArcenGameController.Update () (at <ab0d680e0f374bfb9d26811ca45e8872>:0) |
|
Actually, the problem is in the saves folder in the _Internal folder -- if you upload that particular save, I'd love to have it. Simply deleting that one folder's save would have probably fixed this. I will see what I can figure out on this over the next couple of days, but in the meantime there is a workaround: Simply load any save or quickstart into the lobby, then quit the lobby. After that it should work fine. But I will make it more robust, and having some broken items like what you've got here will help save everyone the hassle. Thank you!! |
|
Ahahaha, sorry this took so long! Stuff happened! The workaround does work as well! |
|
Huh, that one loads perfectly for me! I will try to break it. |
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 17, 2020 3:07 pm | ParadoxSong | New Issue | |
Apr 17, 2020 3:07 pm | ParadoxSong | File Added: ArcenDebugLog.txt | |
Apr 17, 2020 3:07 pm | ParadoxSong | File Added: Autosave.16800.save | |
Apr 17, 2020 3:07 pm | ParadoxSong | File Added: Autosave.16800.savemet | |
Apr 17, 2020 3:08 pm | ParadoxSong | Severity | major => minor |
Apr 17, 2020 3:08 pm | ParadoxSong | Description Updated | |
Apr 17, 2020 3:10 pm | ParadoxSong | Note Added: 0056897 | |
Apr 17, 2020 3:10 pm | BadgerBadger | Note Added: 0056898 | |
Apr 17, 2020 3:13 pm | BadgerBadger | Note Added: 0056900 | |
Apr 17, 2020 3:15 pm | ParadoxSong | Note Added: 0056901 | |
Apr 17, 2020 3:23 pm | ParadoxSong | File Added: worse.png | |
Apr 17, 2020 3:23 pm | ParadoxSong | File Added: ArcenDebugLog-2.txt | |
Apr 17, 2020 3:23 pm | ParadoxSong | Note Added: 0056902 | |
Apr 17, 2020 3:26 pm | BadgerBadger | Assigned To | => Chris_McElligottPark |
Apr 17, 2020 3:26 pm | BadgerBadger | Status | new => assigned |
Apr 17, 2020 3:26 pm | ParadoxSong | Note Added: 0056903 | |
Apr 17, 2020 4:08 pm | ParadoxSong | File Added: ArcenDebugLog-3.txt | |
Apr 17, 2020 4:08 pm | ParadoxSong | File Added: ErrorsReportedByEngine.txt | |
Apr 17, 2020 4:08 pm | ParadoxSong | Note Added: 0056904 | |
Apr 17, 2020 4:50 pm | Chris_McElligottPark | Note Added: 0056905 | |
Apr 19, 2020 6:41 pm | ParadoxSong | File Added: LastLobbySettings.save | |
Apr 19, 2020 6:41 pm | ParadoxSong | Note Added: 0056913 | |
Apr 19, 2020 8:09 pm | ParadoxSong | Relationship added | related to 0023163 |
Apr 20, 2020 3:35 pm | Chris_McElligottPark | Note Added: 0056917 | |
Apr 20, 2020 3:55 pm | Chris_McElligottPark | Status | assigned => resolved |
Apr 20, 2020 3:55 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 20, 2020 3:55 pm | Chris_McElligottPark | Fixed in Version | => Beta 2.028 Eat Bad Lobby Saves |
Apr 20, 2020 3:55 pm | Chris_McElligottPark | Note Added: 0056918 |