RimWorld

RimWorld

RimThunder - Core
MotorizationCE bug
There seems to be an issue with CE:

Error in RimThunder - Core, assembly name: MotorizationCE, method: ProjectileCE_ArcSpread:Launch, exception: System.MissingMethodException: void CombatExtended.ProjectileCE.Launch(Verse.Thing,UnityEngine.Vector2,single,single,single,single,Verse.Thing,single,int)
[Ref 3AD5149F] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
ModErrorChecker.ModErrorChecker/<StartChecks>d__1:MoveNext ()
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object)
UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke ()
UnityEngine.UnitySynchronizationContext:Exec ()
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

Full log here:
https://gist.github.com/HugsLibRecordKeeper/2857f12c1afbd9eabee32354c303ab5b

Thanks!
< >
Showing 1-2 of 2 comments
Unfortunately not the only one.
When using any ground tractor vehicles from RimThunder - Liberty of Delivery, as soon as you load the main tractor, without attaching the trailer first, it instantly becomes immobile and zillion of errors pop up, all related to some "motorization" class too.
Unfortunately this is all in a DLL, and source code is not provided.

There is also lots of other bugs in XML's themselves, at least for the Liberty of Delivery submod. Spent hours correcting those, but without source code, DLL remains a mystery.
Last edited by Jasser_Arrafat; 12 Jul @ 4:02am
I am afraid another error has just showed up after the latest, 13th of July, update:

Error in static constructor of Motorization.HarmonyMain: System.TypeInitializationException: The type initializer for 'Motorization.HarmonyMain' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Motorization.Patch_VehiclePawn_GetExtraFloatMenuOptionsFor::Postfix(Vehicles.VehiclePawn __instance, System.Collections.Generic.IEnumerable`1& __result, Verse.IntVec3 sq) [Ref 863C5FC] at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal, System.Boolean unpatch) [0x00047] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x0006e] in <abec11463bc04855a5322a0a868aeb22>:0 --- End of inner exception stack trace --- [Ref 5F885B4C] at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00154] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <abec11463bc04855a5322a0a868aeb22>:0 at <0x25297a33840 + 0x00052> <unknown method> --- End of inner exception stack trace --- [Ref E9C4D6D8] at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <1d3901981bf845c4a969d40122c14f9e>:0 - POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix() - POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch2 () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()
< >
Showing 1-2 of 2 comments
Per page: 1530 50