Cities: Skylines

Cities: Skylines

Node controller V2.11 [Stable]
patrick 17 Jan, 2021 @ 5:43pm
Error on load
This happen on load or when I enable the mod in Content Manager.

Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
Last edited by patrick; 17 Jan, 2021 @ 5:46pm
< >
Showing 1-12 of 12 comments
CaptainDad 24 Jan, 2021 @ 1:36pm 
I just tried to apply the Mod and I'm getting the same Error:

Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

Any fixes? Or does it still work?
robertocrr 28 Jan, 2021 @ 10:25am 
The same here:

Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
jxleonglee78 5 Feb, 2021 @ 4:15am 
Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

Hmm seems like Im getting the same error as everyone, does anyone know the fix?
Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
Happened to me too. Seems like its because the incompatibility between the mods Harmony and Network Extension, which then breaks all other mods. See this thread in the Harmony page.

https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2040656402/3111393214044457771/

It has a link to a fixed version of Network Extension. So download that and unsubscribe from the steam version. That worked for me.
Last edited by Crispy1961 !!ARTxolo†l; 8 Feb, 2021 @ 11:44am
shaneturner12 26 Mar, 2021 @ 9:45am 
Whilst I’m not the mod author, the 5 errors above look like a case of not having the Hide Crosswalks mod which is a listed requirement from what I can see on the item page.
Last edited by shaneturner12; 26 Mar, 2021 @ 9:45am
Also getting weird errors on load after I load into a second map.

System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
at ColossalFramework.UI.UIComponent.GetUIView () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIButton.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIInteractiveComponent.set_disabledBgSprite (System.String value) [0x00000] in <filename unknown>:0
at NodeController.GUI.NodeControllerButton.Activate () [0x00000] in <filename unknown>:0
at NodeController.Tool.NodeControllerTool.OnEnable () [0x00000] in <filename unknown>:0
Last edited by [OG]CombatMedic02; 1 Apr, 2021 @ 9:32am
shaneturner12 1 Apr, 2021 @ 9:54am 
Originally posted by OGCombatMedic02:
Also getting weird errors on load after I load into a second map.

System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
at ColossalFramework.UI.UIComponent.GetUIView () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIButton.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIInteractiveComponent.set_disabledBgSprite (System.String value) [0x00000] in <filename unknown>:0
at NodeController.GUI.NodeControllerButton.Activate () [0x00000] in <filename unknown>:0
at NodeController.Tool.NodeControllerTool.OnEnable () [0x00000] in <filename unknown>:0

Did you happen to exit to menu rather than desktop between the first and second load? If so that may be the problem.
Miila 7 Apr, 2021 @ 5:43am 
same here ... System.NullReferenceException
Misused chair 31 May, 2021 @ 2:49pm 
same here:

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at NodeController.Tool.NodeControllerTool.Create () [0x00000] in <filename unknown>:0
at NodeController.LifeCycle.LifeCycle.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at NodeController.LifeCycle.LifeCycle.HotReload () [0x00000] in <filename unknown>:0
at NodeController.LifeCycle.LifeCycle.Enable () [0x00000] in <filename unknown>:0
at NodeController.LifeCycle.NodeControllerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
Godzilly ^~^ 7 Nov, 2021 @ 6:08am 
Originally posted by patrick:
This happen on load or when I enable the mod in Content Manager.

Patching exception in method static System.Reflection.MethodBase NodeController.Patches.HideCrosswalksMod.ShouldHideCrossing::TargetMethod() [HarmonyLib.HarmonyException]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HideCrosswalks, Version=3.0.1.21320, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
he did mention something about needing the 'mods' "TMPE" "Harmony" "any version of hide crossings mod" and "unifiedUI" for the node change thing when activating it or something, look again on how to use the mod on the mod page.
Last edited by Godzilly ^~^; 7 Nov, 2021 @ 6:10am
Neverminder 6 Jul, 2022 @ 5:20am 
i have TMPE, Harmony, the latest version of the Hide Crossings Mod and UnifiedUI

and i'm getting this after the first load:
The Mod C:\Users\ipnvm\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods\2085403475 NodeController [UnifiedUILib.dll, NodeController.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at NodeController.LifeCycle.NCState.Deserialize (System.Byte[] data) [0x00000] in <filename unknown>:0
at NodeController.LifeCycle.SerializableDataExtension.OnLoadData () [0x00000] in <filename unknown>:0
at SerializableDataWrapper.OnLoadData () [0x00000] in <filename unknown>:0
< >
Showing 1-12 of 12 comments
Per page: 1530 50