Cities: Skylines

Cities: Skylines

New American Traffic Lights - Grey Style
Cgameworld 26 Oct, 2018 @ 2:42am
Error on savegame load
I'm getting this error when opening a save game preventing the gray lights from showing up.

The version of the mod with the yellow traffic lights works for me.

The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\1548117573 [NewAmericanTrafficLightsGray.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at NewAmericanTrafficLightsGray.NATLG.ReturnStyleFromRoadname (System.String name) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceTL (IEnumerable`1 roads) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceAllTL () [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
< >
Showing 1-6 of 6 comments
Vinnie P 27 Oct, 2018 @ 12:44am 
Are you see the vanilla traffic lights after seeing this error message?
ol' rdtg  [developer] 27 Oct, 2018 @ 1:22am 
I've fixed the bug, that error appears when props are missing. There was a small bug in there that was causing the mod to goof up prop names. Should be all better now. Please report back if you still have issues.
Cgameworld 27 Oct, 2018 @ 2:52am 
I still seem to get the same error message, vanilla traffic lights appear instead

The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\1548117573 [NewAmericanTrafficLightsGray.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at NewAmericanTrafficLightsGray.NATLG.ReturnStyleFromRoadname (System.String name) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceTL (IEnumerable`1 roads) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceAllTL () [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
ol' rdtg  [developer] 27 Oct, 2018 @ 3:22pm 
Try now
Cgameworld 27 Oct, 2018 @ 11:40pm 
It works now! Thanks for your hard work
Cgameworld 28 Oct, 2018 @ 12:33am 
This mod works great for vanilla and NeXt2 roads, but many roads from the workshop don't seem to render the traffic lights correctly.

Would it be possible to assign custom roads from the workshop to a road type based on the road width and global direction alone?

Example: https://imgur.com/a/3gyIaP9

So for example all roads that have a half width of 8m would get categorized automatically under "small roads". The traffic light prop positions on the side of the road would be the same regardless of the what the road specifies.
Last edited by Cgameworld; 28 Oct, 2018 @ 10:29am
< >
Showing 1-6 of 6 comments
Per page: 1530 50