• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

C4rr1e

Recruit
1 Badges
Jun 17, 2025
3
2
  • Cities: Skylines

Information​

When reporting a crash, stability or performance problems, please use the Report a Crash button on the earlier screen​

[CLICK] I understand

Required​

Summary​

Error occured while saving a game, resulting in the game saving endlessly and forcing me to Alt-F4 since the exit button is greyed out. (It managed to save the game correctly few times before the error occured). After restarting the game, "load game" on the affected file does not do anything when clicked.

Steps to reproduce​

Triggering a save either through autosave or the pause menu; It seems to happen at random.

Expected Result​

Saving a game correctly and loading a save game at all.

Actual Result​

Error when saving. Pressing "load game" of the affected save game after restarting CSII does not do anything.

Game Version​

1.3.3f1

What mods do you have installed?​

ExtraAssetsImporter, Asset Packs Manager, Extra Networks and Areas, I18n Everywhere, Extra Detailing Tools, Extra Landscaping Tools, ExtraLib, Better Bulldozer, Map Texture Replacer, Plot the Growables, Anarchy, Unified Icon library, Asset Icon Library, MoveIt, RoadBuilder

Affected Feature​

  • Save

Platform​

  • Steam

Additional Information​

Additional Information​

I am no longer able to retrieve the error since I can not load the savegame where it occurs and it does not occur in new games.

Save Game​

View attachment Ridvine.cok

Other Attachments​



 
  • 2Like
Reactions:

Information​

When reporting a crash, stability or performance problems, please use the Report a Crash button on the earlier screen​

[CLICK] I understand

Required​

Summary​

Error occured while saving a game, resulting in the game saving endlessly and forcing me to Alt-F4 since the exit button is greyed out. (It managed to save the game correctly few times before the error occured). After restarting the game, "load game" on the affected file does not do anything when clicked.

Steps to reproduce​

Triggering a save either through autosave or the pause menu; It seems to happen at random.

Expected Result​

Saving a game correctly and loading a save game at all.

Actual Result​

Error when saving. Pressing "load game" of the affected save game after restarting CSII does not do anything.

Game Version​

1.3.3f1

What mods do you have installed?​

ExtraAssetsImporter, Asset Packs Manager, Extra Networks and Areas, I18n Everywhere, Extra Detailing Tools, Extra Landscaping Tools, ExtraLib, Better Bulldozer, Map Texture Replacer, Plot the Growables, Anarchy, Unified Icon library, Asset Icon Library, MoveIt, RoadBuilder

Affected Feature​

  • Save

Platform​

  • Steam

Additional Information​

Additional Information​

I am no longer able to retrieve the error since I can not load the savegame where it occurs and it does not occur in new games.

Save Game​

View attachment 1320148

Other Attachments​

SAME HERE! ALSO I LOSE MY SAVE FOLDER WHEN I TRY TO FIX THAT!
 
Please make sure to disable all mods and attach a Player.log when reproducing the issue. This allows us to find out what causes the issue.
When saving a game, manually or auto save, I am receiving this message followed by other error messages:

[CRITICAL] System update error during Serialize->SerializerSystem:

NullReferenceException: Object reference not set to an instance of an object
at Unity.Entities.EntityManager.HighestEntityIndex () [0x00053] in <e125b05a4c73402481185d1a135059f5>:0
at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].CreateEntityTable (Colossal.Serialization.Entities.Context context, Unity.Collections.Allocator allocator) [0x0017c] in <f539b356a552460880371c76b71887be>:0
at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].Serialize[TWriter,TFormatTags] (Colossal.Serialization.Entities.Context context, Unity.Entities.EntityQuery query, Colossal.Serialization.Entities.BufferFormat bufferFormat, Unity.Entities.ComponentType[] requireEnabled) [0x0004d] in <f539b356a552460880371c76b71887be>:0
at Game.Serialization.SerializerSystem.OnUpdate () [0x000c4] in <cc2da3314a404c70a203f382286b5d52>:0
at Unity.Entities.SystemBase.Update () [0x0004e] in <e125b05a4c73402481185d1a135059f5>:0
at Game.UpdateSystem.Update (Game.SystemUpdatePhase phase) [0x0004e] in <cc2da3314a404c70a203f382286b5d52>:0
Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
Colossal.Logging.UnityLogger:Log(Level, String, Exception)
Colossal.Logging.UnityLogger:CriticalFormat(Exception, String, Object, Object)
Game.UpdateSystem:Update(SystemUpdatePhase)
Game.Serialization.SaveGameSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Game.UpdateSystem:Update(SystemUpdatePhase)
Game.SceneFlow.GameManager:UpdateWorld()
Game.SceneFlow.GameManager:Update()

The thing is I can open and play a saved game and usually get about 10 minutes or so into a game and save it. I use auto save as well because you have to given how the game is prone to crashing. But I will inevitably end up receiving this message and the game will not save. It wont crash but I am forced to quit because there is no point continuing because I cant save the game.
 
When saving a game, manually or auto save, I am receiving this message followed by other error messages:

[CRITICAL] System update error during Serialize->SerializerSystem:

NullReferenceException: Object reference not set to an instance of an object
at Unity.Entities.EntityManager.HighestEntityIndex () [0x00053] in <e125b05a4c73402481185d1a135059f5>:0
at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].CreateEntityTable (Colossal.Serialization.Entities.Context context, Unity.Collections.Allocator allocator) [0x0017c] in <f539b356a552460880371c76b71887be>:0
at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].Serialize[TWriter,TFormatTags] (Colossal.Serialization.Entities.Context context, Unity.Entities.EntityQuery query, Colossal.Serialization.Entities.BufferFormat bufferFormat, Unity.Entities.ComponentType[] requireEnabled) [0x0004d] in <f539b356a552460880371c76b71887be>:0
at Game.Serialization.SerializerSystem.OnUpdate () [0x000c4] in <cc2da3314a404c70a203f382286b5d52>:0
at Unity.Entities.SystemBase.Update () [0x0004e] in <e125b05a4c73402481185d1a135059f5>:0
at Game.UpdateSystem.Update (Game.SystemUpdatePhase phase) [0x0004e] in <cc2da3314a404c70a203f382286b5d52>:0
Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
Colossal.Logging.UnityLogger:Log(Level, String, Exception)
Colossal.Logging.UnityLogger:CriticalFormat(Exception, String, Object, Object)
Game.UpdateSystem:Update(SystemUpdatePhase)
Game.Serialization.SaveGameSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Game.UpdateSystem:Update(SystemUpdatePhase)
Game.SceneFlow.GameManager:UpdateWorld()
Game.SceneFlow.GameManager:Update()

The thing is I can open and play a saved game and usually get about 10 minutes or so into a game and save it. I use auto save as well because you have to given how the game is prone to crashing. But I will inevitably end up receiving this message and the game will not save. It wont crash but I am forced to quit because there is no point continuing because I cant save the game.
You are not using any mods?
 
You are not using any mods?
Same mods,

ExtraAssetsImporter, Asset Packs Manager, Extra Networks and Areas, I18n Everywhere, Extra Detailing Tools, Extra Landscaping Tools, ExtraLib, Better Bulldozer, Map Texture Replacer, Plot the Growables, Anarchy, Unified Icon library, Asset Icon Library, MoveIt, RoadBuilder

I did not encounter any problems installing these mods. I did not install mods that were warned that they were not compatible with the new update.
 
Same mods,

ExtraAssetsImporter, Asset Packs Manager, Extra Networks and Areas, I18n Everywhere, Extra Detailing Tools, Extra Landscaping Tools, ExtraLib, Better Bulldozer, Map Texture Replacer, Plot the Growables, Anarchy, Unified Icon library, Asset Icon Library, MoveIt, RoadBuilder

I did not encounter any problems installing these mods. I did not install mods that were warned that they were not compatible with the new update.
Then please disable all mods and see if the issue still occurs. If it doesn't occur without mods, it's not a game issue, but a mod issue.
 
Then please disable all mods and see if the issue still occurs. If it doesn't occur without mods, it's not a game issue, but a mod issue.
Yes, I did not encounter this error when mods were disabled. But as I mentioned in my previous message, I did not use mods that were warned that there would be compatibility issues with the new update. Does the new update prohibit the use all of mods?
 
Yes, I did not encounter this error when mods were disabled. But as I mentioned in my previous message, I did not use mods that were warned that there would be compatibility issues with the new update. Does the new update prohibit the use all of mods?
It doesn't prohibit mods, but only because the mods are shown to support the new version, doesn't mean they don't cause issues. The modders can decide which version is supported by the mod, and mod combinations can always cause issues. If the issue is not happening in an unmodded game, we cannot help you here in the forums. The issue is then mod-related and has too many variables for the developers to find a fix for, most likely the base game isn't even responsible. Hope that clears it up!
 
It doesn't prohibit mods, but only because the mods are shown to support the new version, doesn't mean they don't cause issues. The modders can decide which version is supported by the mod, and mod combinations can always cause issues. If the issue is not happening in an unmodded game, we cannot help you here in the forums. The issue is then mod-related and has too many variables for the developers to find a fix for, most likely the base game isn't even responsible. Hope that clears it up!
Thanks for the answer. I started looking for a solution here because I thought Paradox mods were part of the game. According to what you said, Paradox cannot help us with the add-ons and support it provides. This is interesting, because we download the mods we have problems with from the platform Paradox provides us. However, thank you again for the quick and clear answers. I hope the update problem between the game codecs, Paradox and the mod codecs will be resolved quickly.

Last question, I uninstalled the game from my computer and reinstalled it, I lost my save files in the process. I can access the backup file, but I couldn't figure out how to introduce it to the program. Can you help?
 
Thanks for the answer. I started looking for a solution here because I thought Paradox mods were part of the game. According to what you said, Paradox cannot help us with the add-ons and support it provides. This is interesting, because we download the mods we have problems with from the platform Paradox provides us. However, thank you again for the quick and clear answers. I hope the update problem between the game codecs, Paradox and the mod codecs will be resolved quickly.

Last question, I uninstalled the game from my computer and reinstalled it, I lost my save files in the process. I can access the backup file, but I couldn't figure out how to introduce it to the program. Can you help?
Uninstalling the game doesn't delete any mods, settings or saves. All the userdata is stored in C:\Users\%username%\AppData\LocalLow\Colossal Order\Cities Skylines II, so you only lose your saves when deleting that folder. If you want to restore a save from your backup, move the according .cok file (along with it's .cok.cid file) to the Saves folder in the Cities Skylines II folder of your user directory.

Please note that reinstalling the game doesn't solve any mod issues or corrupt files. Deleting or moving the user folder can help with these issues ,but if you move the whole folder back to the original location it is likely that your issues will be back. That's why we recommend to only move the save file you actually need one by one, and if there is an issue, it's likely related to that save.
 
Your Player.log indicates a corrupt file: Saves/76561198445005856/Ridvine.cok

Could you try deleting that file from your user directory? It seems it has been corrupted. Please try loading an autosave instead.
Yeah, that one is the corrupted one I talked about and attached to the start of this thread. Unluckily autosave triggered a short moment after and got corrupted as well. So I have got no non-corrupted file of that city.

Would be 10/10 if there was a way to repair that save file.

Will resend it anyway
 

Attachments

  • Ridvine.cok
    1.021,1 KB · Views: 0
Yeah, that one is the corrupted one I talked about and attached to the start of this thread. Unluckily autosave triggered a short moment after and got corrupted as well. So I have got no non-corrupted file of that city.

Would be 10/10 if there was a way to repair that save file.

Will resend it anyway
Sorry, there is no actual save game data in that file. The data is missing. We can't do anything t o recover, if you have no backups.
 
I'm getting this too. The only work around I have is it autosave, unlimited number of saves, set to 1 minute so that when it occurs I'll only lose the last minute of the save. In the last 1 hour of play, it's happened four times.

Eternal saving, not ability to exit:

1750324648558.png


19-13-02.cok is the last good save at 55Mb, thereafter the go to 1Mb with the game continuing to try to auto save each minute (hence the banked up saves in the screenshot above).

1750324715074.png


FIRST ERROR WINDOW:

[CRITICAL] System update error during Serialize->SerializerSystem:

NullReferenceException: Object reference not set to an instance of an object

at Unity.Entities.EntityManager.HighestEntityIndex () [0x00053] in <e125b05a4c73402481185d1a135059f5>:0

at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].CreateEntityTable (Colossal.Serialization.Entities.Context context, Unity.Collections.Allocator allocator) [0x0017c] in <f539b356a552460880371c76b71887be>:0

at Colossal.Serialization.Entities.EntitySerializer`1[TWriteBuffer].Serialize[TWriter,TFormatTags] (Colossal.Serialization.Entities.Context context, Unity.Entities.EntityQuery query, Colossal.Serialization.Entities.BufferFormat bufferFormat, Unity.Entities.ComponentType[] requireEnabled) [0x0004d] in <f539b356a552460880371c76b71887be>:0

at Game.Serialization.SerializerSystem.OnUpdate () [0x000c4] in <cc2da3314a404c70a203f382286b5d52>:0

at Unity.Entities.SystemBase.Update () [0x0004e] in <e125b05a4c73402481185d1a135059f5>:0

at Game.UpdateSystem.Update (Game.SystemUpdatePhase phase) [0x0004e] in <cc2da3314a404c70a203f382286b5d52>:0

Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Logger:LogFormat(LogType, String, Object[])

Colossal.Logging.UnityLogger:Log(Level, String, Exception)

Colossal.Logging.UnityLogger:CriticalFormat(Exception, String, Object, Object)

Game.UpdateSystem:Update(SystemUpdatePhase)

Game.Serialization.SaveGameSystem:OnUpdate()

Unity.Entities.SystemBase:Update()

Game.UpdateSystem:Update(SystemUpdatePhase)

Game.SceneFlow.GameManager:UpdateWorld()

Game.SceneFlow.GameManager:Update()





SECOND ERROR WINDOW:

[ERROR] \\\\?\\C:\\Users\\(user)\\AppData\\Local\\Temp\\Colossal Order\\Cities Skylines II\\0e499ad5c6de4294b77cdb6e2ac5094a\\19-June-19-14-02.SaveGameData: The process cannot access the file because it is being used by another process.

IOException: \\?\C:\Users\(user)\AppData\Local\Temp\Colossal Order\Cities Skylines II\0e499ad5c6de4294b77cdb6e2ac5094a\19-June-19-14-02.SaveGameData: The process cannot access the file because it is being used by another process.

at System.IO.LongFile.GetFileHandle (System.String normalizedPath, System.Guid guid, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileOptions options) [0x00036] in <71817e4332374ad89af93b8ea283134f>:0

at System.IO.LongFile.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.Action disposeCallback) [0x00017] in <71817e4332374ad89af93b8ea283134f>:0

at System.IO.LongFile.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Action disposeCallback) [0x00000] in <71817e4332374ad89af93b8ea283134f>:0

at System.IO.LongFile.OpenRead (System.String path) [0x00000] in <71817e4332374ad89af93b8ea283134f>:0

at Colossal.IO.AssetDatabase.FileSystemDataSource.GetReadStream (Colossal.IO.AssetDatabase.FileSystemDataSource+EntryInfo fi) [0x00016] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.FileSystemDataSource.GetReadStream (Colossal.Hash128 guid) [0x00031] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.AssetDatabase`1[T].GetReadStream (Colossal.Hash128 guid) [0x00000] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.ZipPackageWriter+FileDataSource..ctor (Colossal.IO.AssetDatabase.IAssetData asset) [0x00018] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.ZipPackageWriter.Add (Colossal.IO.AssetDatabase.IAssetData asset, System.Boolean preserveTimestamp) [0x00083] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.PackageAsset.Save (System.Boolean force, System.Boolean preserveTimestamp) [0x00036] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Colossal.IO.AssetDatabase.PackageAsset.Save (System.Boolean force) [0x00000] in <e204981baa3d4b1ca12fa335a13465cc>:0

at Game.SceneFlow.GameManager+<>c__DisplayClass91_0.<Save>b__0 () [0x0007a] in <cc2da3314a404c70a203f382286b5d52>:0

at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <356d430fdcb04bbf8dc54776e1d3627f>:0

at System.Threading.Tasks.Task.Execute () [0x00000] in <356d430fdcb04bbf8dc54776e1d3627f>:0

--- End of stack trace from previous location where exception was thrown ---



at Game.SceneFlow.GameManager.Save (System.String saveName, Game.Assets.SaveInfo meta, Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.UI.ScreenCaptureHelper+AsyncRequest previewRequest) [0x00371] in <cc2da3314a404c70a203f382286b5d52>:0

at Game.AutoSaveSystem.AutoSave () [0x000f7] in <cc2da3314a404c70a203f382286b5d52>:0

Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Logger:LogFormat(LogType, String, Object[])

Colossal.Logging.UnityLogger:Log(Level, String, Exception)

Colossal.Logging.UnityLogger:Error(Exception)

Game.<AutoSave>d__13:MoveNext()

System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)

System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)

System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)

System.Runtime.CompilerServices.MoveNextRunner:Run()

System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object)

System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)

System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean)

System.Threading.Tasks.Task:FinishContinuations()

System.Threading.Tasks.Task:FinishStageThree()

System.Threading.Tasks.Task:FinishStageTwo()

System.Threading.Tasks.Task:Finish(Boolean)

System.Threading.Tasks.Task:TrySetException(Object)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception)

Game.SceneFlow.<Save>d__91:MoveNext()

System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)

System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)

System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)

System.Runtime.CompilerServices.MoveNextRunner:Run()

System.Threading.Tasks.<>c:<.cctor>b__7_0(Object)

UnityEngine.WorkRequest:Invoke()

UnityEngine.UnitySynchronizationContext:Exec()

UnityEngine.UnitySynchronizationContext:ExecuteTasks()
 
Last edited:
Your Player.log indicates a corrupt file: Saves/76561198445005856/Ridvine.cok

Could you try deleting that file from your user directory? It seems it has been corrupted. Please try loading an autosave instead.
Your newly introduced feature to take a screenshot of your camera position while saving the game to display it as a preview and then in the loading screen is veeery likely causing this issue. Even I can make this (educated) guess from the posts (and the posted logs) in your forums (and other platforms). It would be fundamentally awesome if you guys could finally acknowledge that, move forward and fix the issue... instead we're still discussing if this is something you'll forward to your devs.

FYI:
  • saves will result in error
  • sometimes its the first save after loading into the game, sometimes its the 14th; or anything in between really
  • It doesn't matter if you save locally or on steam cloud (even though when I switched over to steam cloud for a bit of testing it seemed to work for a bit (aka 10-20 saves across 2-3 sessions of playing), until it didnt)
  • mods don't matter (aka the problem will happen with or without mods activated or even installed)
  • re-installing the game doesn't fix it; not even a fresh install on a different disk
And no, I will not post another log as there are plenty in this post and others; any log I have or that I can create upon your request will literally look EXACTLY the same:

ERROR] \\\\?\\C:\\Users\\(user)\\AppData\\Local\\Temp\\Colossal Order\\Cities Skylines II\\0e499ad5c6de4294b77cdb6e2ac5094a\\19-June-19-14-02.SaveGameData: The process cannot access the file because it is being used by another process.

The only thing that will change is the sub-folder in "\\Cities Skylines II\\..." (so in the above case its "0e499ad5c6de4294b77cdb6e2ac5094a") and obviously the save file itself.
 
The problem is caused by Anarchy Mod and happened before after patching. Simply disable it until the issue is fixed by the Modder.
Source? Because no, it is not caused by Anarchy. As I've said, I've gone as far as deleting ALL CS2-related data from my system (yes, also appdata and temp files; including mod-files) and reinstalled CS2 on a completely different drive, yet I still get the error on a FRESH MAP and WITHOUT ANY MODS.

So please stop spreading misinformation... you're only delaying a potential fix for the issue even more.
 
I had this saving issue after the recent Patch und some Patches before shortly after the Updates. I had that Problem many times before and in the last days, too. I unsubscribed anarchy, because it wasnt the first time this Mod caused exactly that behaviour on my system.. After making a new game and playing several hours the error didn't came Back. Maybe there are Files in Steam Cloud and corruppted save Files which were altered by anarchy, that cause the problem.
 
  • 1
Reactions: