RimWorld

RimWorld

RWLayout
 This topic has been pinned, so it's probably important
Krypt  [developer] Jul 26, 2021 @ 10:01am
Bugreports
Post bugreports there.
< >
Showing 1-6 of 6 comments
Yoann Aug 29, 2024 @ 1:32am 
Not really a bug, but a yellow error in my debug log:

ModContentPack.LoadPatches does not matches the reference. Skipping transpiler UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) RWLayoutMod.MiscFixes:LoadPatches_transpiler (System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction>,System.Reflection.Emit.ILGenerator) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object[]) HarmonyLib.CodeTranspiler/<>c__DisplayClass11_0:<GetResult>b__0 (System.Reflection.MethodInfo) System.Collections.Generic.List`1<System.Reflection.MethodInfo>:ForEach (System.Action`1<System.Reflection.MethodInfo>) HarmonyLib.CodeTranspiler:GetResult (System.Reflection.Emit.ILGenerator,System.Reflection.MethodBase) HarmonyLib.MethodBodyReader:FinalizeILCodes (HarmonyLib.Emitter,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.Emit.Label>,bool&,bool&) HarmonyLib.MethodCopier:Finalize (HarmonyLib.Emitter,System.Collections.Generic.List`1<System.Reflection.Emit.Label>,bool&,bool&) HarmonyLib.MethodPatcher:CreateReplacement (System.Collections.Generic.Dictionary`2<int, HarmonyLib.CodeInstruction>&) HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo) HarmonyLib.PatchProcessor:Patch () HarmonyLib.Harmony:Patch (System.Reflection.MethodBase,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod,HarmonyLib.HarmonyMethod) RWLayoutMod.MiscFixes:TryPatchLoadPatches (HarmonyLib.Harmony) RWLayoutMod.RWLayoutMod:ApplyPatches (HarmonyLib.Harmony) RWLayoutMod.RWLayoutMod:.ctor (Verse.ModContentPack) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) System.Reflection.MonoCMethod:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&) System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) System.Activator:CreateInstance (System.Type,object[]) Verse.LoadedModManager:CreateModClasses () Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (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.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()
Serylt Aug 25 @ 10:49am 
There's a new issue, have you had this before? This basically breaks the mod.




ReflectionTypeLoadException getting types in assembly PawnTableGrouped.0: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. Could not resolve type with token 01000066 from typeref (expected class 'RWLayout.alpha2.CTextField' in assembly '0RWLayout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0 at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0 System.TypeLoadException: Could not resolve type with token 01000066 from typeref (expected class 'RWLayout.alpha2.CTextField' in assembly '0RWLayout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') Loader exceptions: => System.TypeLoadException: Could not resolve type with token 01000066 from typeref (expected class 'RWLayout.alpha2.CTextField' in assembly '0RWLayout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null')
Krypt  [developer] Aug 25 @ 12:23pm 
Can you share the HugsLibs log? (at at least your modlist)
Krypt  [developer] Aug 25 @ 12:26pm 
Actually, DO you have "Unexpected RWLayourt version" message?
The only way I know to get this issue is to load ModDiff *before* RWLayout (in *must* go after it, it has its own embedded copy of RWLayout and it is not up to date)
Krypt  [developer] Aug 25 @ 12:27pm 
So, likely you have bad loading order? It should give you red warning in the mods list, though
Serylt Aug 26 @ 9:34am 
Originally posted by Krypt:
So, likely you have bad loading order? It should give you red warning in the mods list, though

My bad, this was it. I do not have ModDiff, but I do have "Log After Def Error", and for some reason unbeknownst to me, I have to load RWLayout after this but before any Research Mod. Then I got No Version Warning, RimSaves and then Grouped Pawns. This order causes no errors. I don't know why the errors suddenly started, but now they're gone again.

alas, tl;dr, load order! Thanks for getting back to me :praisesun:
< >
Showing 1-6 of 6 comments
Per page: 1530 50