[TrainSpawnerPlus] Version '1.0.0'. Loading. [TrainSpawnerPlus] [Error] Error trying to call 'TrainSpawnerPlus.Main.Load'. [TrainSpawnerPlus] [Exception] TargetInvocationException - Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void TrainSpawnerPlus.TrainSpawnerPlus_Patch::Postfix(DV.CommsRadioCarSpawner __instance) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal, System.Boolean unpatch) [0x00047] in <1042ce63cc12440e99a0811a54a34f4b>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x0006e] in <1042ce63cc12440e99a0811a54a34f4b>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00154] in <1042ce63cc12440e99a0811a54a34f4b>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <1042ce63cc12440e99a0811a54a34f4b>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <1042ce63cc12440e99a0811a54a34f4b>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <1042ce63cc12440e99a0811a54a34f4b>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <1042ce63cc12440e99a0811a54a34f4b>:0 at TrainSpawnerPlus.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x00018] in <5bb3df50928440a58d7ff4369de5c88c>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) [0x00011] in <dee69f95eb464bdcb54844cd74799e72>:0 [TrainSpawnerPlus] Not loaded.
bro..how do i enable it..i haven't purchased the game,i'm using DV Simulator and i can't find the option in the game option..how to enable it?? is it because of playing in career mode?
47 comments
[TrainSpawnerPlus] [Error] Error trying to call 'TrainSpawnerPlus.Main.Load'.
[TrainSpawnerPlus] [Exception] TargetInvocationException - Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void TrainSpawnerPlus.TrainSpawnerPlus_Patch::Postfix(DV.CommsRadioCarSpawner __instance)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal, System.Boolean unpatch) [0x00047] in <1042ce63cc12440e99a0811a54a34f4b>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x0006e] in <1042ce63cc12440e99a0811a54a34f4b>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00154] in <1042ce63cc12440e99a0811a54a34f4b>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <1042ce63cc12440e99a0811a54a34f4b>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <1042ce63cc12440e99a0811a54a34f4b>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <1042ce63cc12440e99a0811a54a34f4b>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <1042ce63cc12440e99a0811a54a34f4b>:0
at TrainSpawnerPlus.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x00018] in <5bb3df50928440a58d7ff4369de5c88c>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) [0x00011] in <dee69f95eb464bdcb54844cd74799e72>:0
[TrainSpawnerPlus] Not loaded.
constantly restart required ...