Cities: Skylines

Cities: Skylines

112 ratings
Safenets [no longer needed]
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
4.608 KB
Jan 10, 2019 @ 9:54am
Sep 16, 2024 @ 11:05am
2 Change Notes ( view )

Subscribe to download
Safenets [no longer needed]

Description
This is a small & experimental mod that attempts to fix the "Simulation error: Object reference not set" error from RoadBaseAI.CanEnableTrafficLights.

If RoadBaseAI.CanEnableTrafficLights appears in your output_log.txt, this mod is worth a try.
If there is no RoadBaseAI.CanEnableTrafficLights in your log, you don't need this mod.

Note that if you have the Crossings mod, you may get the Object reference error from it, too. Crossings has its own version of CanEnableTrafficLights. I cannot fix that one.

Using cities-skylines-detour[github.com] by Sebastian Schöner.
Sources are available.[github.com]
23 Comments
Oct 7, 2022 @ 6:25pm 
this still works?
Mar 30, 2022 @ 4:31pm 
thanks:steamhappy:
Dec 2, 2021 @ 10:11am 
Safenets [Steam ID 1620588636] by thale5

- Unsubscribe this. It is succeeded by a mod you already have:
* [Steam ID 667342976] Loading Screen Mod
- This is compatible with the current game version.
- Unsubscribe would be wise. This is deprecated and no longer supported by the author.
- You can use the 'Try to recover from Simulation Errors' option from Loading Screen
Mod. It is more powerful than this mod.

Steam Workshop page: https://steamcommunity.com/sharedfiles/filedetails/?id=1620588636
Aug 1, 2021 @ 8:52am 
is there any way to swap missing segments during loading to not loose giant part of network?
Jan 28, 2021 @ 8:16am 
thank you
thale5  [author]
Jan 27, 2020 @ 8:33am 
@Deadotated Wham It works like this: for each custom net segment, check if its custom net asset is available. If yes, do nothing with the segment. If not, remove the segment.

Apparently you have lost some much needed net asset(s), or there is some save game corruption.
Jan 24, 2020 @ 1:46am 
fixed my city but deleted many many roads?
Jan 17, 2020 @ 11:22pm 
I'm trying to fix my save but thanks for the mod!!!!:lunar2019crylaughingpig:
Jan 15, 2020 @ 1:05pm 
You might be an Angel !!!!:steamhappy::steamhappy::steamhappy:
thale5  [author]
Aug 31, 2019 @ 9:00am 
@aubergine18 That savegame mentioned below was a good one. There is now a recovery option in LSM [Test]. The new option is able to load and save that game even though almost all mod and asset dependencies are missing.