Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Restrictions not working. #17

Closed
Swamp-Ig opened this issue Sep 8, 2016 · 2 comments
Closed

Network Restrictions not working. #17

Swamp-Ig opened this issue Sep 8, 2016 · 2 comments
Assignees
Labels
bug A problem that is caused by a malfunction
Milestone

Comments

@Swamp-Ig
Copy link

Swamp-Ig commented Sep 8, 2016

Hi,

I'm unable to use network restrictions. The UI for it doesn't come up.

This happens if I load from a save, or into a new game, or whatever. The exception gets thrown from the same HasJunctionRestrictions function, but called from a few different places.

Here is the relevant log output:

NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.Manager.JunctionRestrictionsManager.HasJunctionRestrictions (UInt16 nodeId) [0x00000] in <filename unknown>:0 

  at TrafficManager.UI.SubTools.JunctionRestrictionsTool.RefreshCurrentRestrictedNodeIds () [0x00000] in <filename unknown>:0 

  at TrafficManager.UI.SubTools.JunctionRestrictionsTool.Initialize () [0x00000] in <filename unknown>:0 

  at TrafficManager.UI.TrafficManagerTool.Awake () [0x00000] in <filename unknown>:0 
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
UnityEngine.GameObject:AddComponent()
TrafficManager.LoadingExtension:EnableTool()
TrafficManager.LoadingExtension:SetToolMode(TrafficManagerMode)
TrafficManager.UI.UIBase:Show()
TrafficManager.UI.UIBase:ButtonClick(UIComponent, UIMouseEventParameter)
ColossalFramework.UI.UIComponent:OnClick(UIMouseEventParameter)
ColossalFramework.UI.UIButton:OnClick(UIMouseEventParameter)
ColossalFramework.UI.MouseHandler:ProcessInput(IInputTranslator, Ray, UIComponent, Boolean)
ColossalFramework.UI.UIInput:ProcessMouseInput()
ColossalFramework.UI.UIInput:Update()

@VictorPhilipp
Copy link
Owner

VictorPhilipp commented Sep 8, 2016

Thanks, the problem is known and has already been fixed in the next version. As soon as I have the time, I will update the mod.

@VictorPhilipp VictorPhilipp added the bug A problem that is caused by a malfunction label Sep 8, 2016
@VictorPhilipp VictorPhilipp added this to the 1.7.12 milestone Sep 8, 2016
@VictorPhilipp VictorPhilipp self-assigned this Sep 8, 2016
@Swamp-Ig
Copy link
Author

Swamp-Ig commented Sep 8, 2016

Awesome :)

FireController1847 pushed a commit to FireController1847/Cities-Skylines-Traffic-Manager-President-Edition that referenced this issue Feb 9, 2019
FireController1847 pushed a commit to FireController1847/Cities-Skylines-Traffic-Manager-President-Edition that referenced this issue Feb 10, 2019
Updated to new glyphs for passenger/cargo trains.
FireController1847 pushed a commit to FireController1847/Cities-Skylines-Traffic-Manager-President-Edition that referenced this issue Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem that is caused by a malfunction
Projects
None yet
Development

No branches or pull requests

2 participants