Information
I have disabled all mods
YesRequired
Summary
Any save created on the new game version causes a simulation error with the Deserializer, old saves continue to load fineExpected Result
The game loading correctlyActual Result
The simulation fails to load due to an "Array index-out of range" error on any save created on version 1.18.1-f3Steps to reproduce
Loading a save game created on the previous version, and then saving even without changing anything, creates a save that can't be loaded. The same is true when starting a new game on my empty custom map with all mods disabledPlatform
SteamGame Version
1.18.1-f3Optional
Description
As of the update on the 29th of October, I can no longer load newly created saves. Saves created on the previous game version continue to load correctly, and the simulation runs as before once in-game with no new issues.I have already attempted extensive troubleshooting, such as by comparing the output logs of my most recent save from before the update to a newly saved version of said save, with nothing changed. As the output logs are quite extensive, I have copied the relevant sections here.
Once loading a new save, according to Loading Screen Mod the error occurs when loading TreeManager. I have compared the output logs of the two saves. The error occurs after:
"71,942ms | Saving C:\Users\mikeb\AppData\Local\Colossal Order\Cities_Skylines\userGameState.cgs [Settings - Internal]" (new save)
"53,914ms | Saving C:\Users\mikeb\AppData\Local\Colossal Order\Cities_Skylines\userGameState.cgs [Settings - Internal]" (corresponding section in the old save).
As there is some difference in the way Tree Control loaded, I removed all trees and loaded a save with tree control disabled. Here the identical error occured at:
"64,859ms | Simulation error: Array index is out of range."
The error text is identical between the two failed attempts and reads as follows:
"73,285ms | Simulation error: Array index is out of range.
at (wrapper dynamic-method) TreeManager/Data.TreeManager+Data.Deserialize_Patch0 (TreeManager/Data,ColossalFramework.IO.DataSerializer) <0x005d4>
at ColossalFramework.IO.DataSerializer.Deserialize<SimulationManager/Data> (System.IO.Stream,ColossalFramework.IO.DataSerializer/Mode,ColossalFramework.IO.DataSerializer/LegacyResolverHandler) <0x00134>
at ColossalFramework.IO.DataSerializer.Deserialize<SimulationManager/Data> (System.IO.Stream,ColossalFramework.IO.DataSerializer/Mode) <0x0004b>
at LoadingManager/<LoadSimulationData>c__IteratorB.MoveNext () <0x007d4>
at AsyncTask.Execute () <0x000a8>
[Core]"
Creating a new game on the mostly empty custom map I used for my city creates a similar error at the same time in the loading process, even with all mods exept LSM disabled (also disabling LSM still led to the same result):
"74,777ms | Simulation error: EndDeserialize(VehicleManager) tag mismatch:
at LoadingProfiler.EndDeserialize (ColossalFramework.IO.DataSerializer s, System.String name) [0x00000] in <filename unknown>:0
at VehicleManager+Data.Deserialize (ColossalFramework.IO.DataSerializer s) [0x00000] in <filename unknown>:0
at ColossalFramework.IO.DataSerializer.Deserialize[Data] (System.IO.Stream stream, Mode mode, ColossalFramework.IO.LegacyResolverHandler customResolver) [0x00000] in <filename unknown>:0
at ColossalFramework.IO.DataSerializer.Deserialize[Data] (System.IO.Stream stream, Mode mode) [0x00000] in <filename unknown>:0
at LoadingManager+<LoadSimulationData>c__IteratorB.MoveNext () [0x00000] in <filename unknown>:0
at AsyncTask.Execute () [0x00000] in <filename unknown>:0 [Core]"
Meanwhile starting a new game with my current mod and asset configuration on a vanilla map doesn't throw up this error.
I still had the last version of the game installed on my laptop. Aside from "Assembly-CSharp.dll", I replaced the "Managed", "Mono" and "Plugins" files with those from the last version, and the error still occured. Also replacing "Assembly-CSharp.dll" when attempting to create a new game on my custom map with all mods disabled still caused the same error as above.
Since this deserialization error occurs irrespective of wether mods are enabled, and as previous saves still load and run as before, I suspect that this is a game error occuring whilst creating a save on the new version, and not directly caused by any mod. As I've invested a significant amount of time and effort into my current city and therefore would rather not lose the ability to continue working on it, I'd greatly appreciate any help in finding the cause of this issue. Thanks in advance!
Attached is the save saved on the previous and current version of the game, as well as the Map file and the output logs corresponding to my report above. (Edit: I was unable to upload the saves, presumably due to their file size of over 300 Mb each)
Tags
- Compatibility
- Map
- Modding
- Save
- Stability
- User Experience
Attachments
View attachment output_log new map.txtView attachment output_log no tree control.txtView attachment output_log new save.txtView attachment output_log old save.txtView attachment River Delta A.crp
Upvote
0