Cities: Skylines

Cities: Skylines

Render It!
Dinomakos 25 Apr, 2023 @ 4:48pm
Possible issue with loading of saved games/maps (Windows 10)
@Keallu I found an issue that seems to be Render It related. Not sure if this is the place to post it.

Issue occurs after loading a saved game or editing a map. If you try to load another saved game or load/edit another map, the game loading screen will appear, progress bar goes all the way to completion, but the game simply hangs and stays on the loading screen infinitely. Requires a forced stop of the program.

At first I thought I might have some other mod conflicts, but the issue persists after disabling, unsubscribing, and deleting all other mod assets and configurations from the Cities Skylines folders (users/username/appdata and programfiles(x86)/steam/steamapps/ folders on Windows). It seems that this issue only occurs when Render It is subbed.

I also tried removing all saved Render It configurations (deleting RenderItConfig.xml) and unsub/re-subbing, but the issue persists. Strangely, the issue does not always appear immediately. Sometimes, it appears on the 2nd or 3rd loading of a saved game/map.

I also considered that there might be an issue with the saved games themselves. However, the issue seems to occur even if loading the same saved game repeatedly or editing a vanilla map. A saved game will load the first time, but cause the loading issue on the second load. I can duplicate the issue by editing vanilla maps that came with the base game as well (after first copying the base game map to my user's map folder).

If I already have a saved game/map loaded, and exit to main menu before loading another saved game/map, then the loading completes normally and the game does not hang.

Here's the relevant part of the output_log.txt:

NullReferenceException
at (wrapper managed-to-native) UnityEngine.Camera:get_fieldOfView ()
at CameraController.Reset (Vector3 startOffset, UpdateMode mode, SavedCameraView savedCameraView) [0x00000] in <filename unknown>:0
at GameAreaManager.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at (wrapper delegate-invoke) LoadingManager/LevelLoadedHandler:invoke_void__this___SimulationManager/UpdateMode (SimulationManager/UpdateMode)
at LoadingManager+<LoadLevelComplete>c__Iterator9.MoveNext () [0x00000] in <filename unknown>:0
at LoadingManager.Update () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

Hope that helps and let me know if you need more info. Also, thank you for creating and maintaining this awesome mod!
Last edited by Dinomakos; 25 Apr, 2023 @ 4:54pm
< >
Showing 1-1 of 1 comments
LucKyLo0ny 29 Jul, 2023 @ 5:06pm 
You should always close the game completely before loading another save.
< >
Showing 1-1 of 1 comments
Per page: 1530 50