边缘世界 RimWorld

边缘世界 RimWorld

RWLayout
 此主题已被置顶,因此可能具有重要性
Krypt  [开发者] 2021 年 7 月 26 日 上午 10:01
Bugreports
Post bugreports there.
< >
正在显示第 1 - 6 条,共 6 条留言
Yoann 2024 年 8 月 29 日 上午 1:32 
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 8 月 25 日 上午 10:49 
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  [开发者] 8 月 25 日 下午 12:23 
Can you share the HugsLibs log? (at at least your modlist)
Krypt  [开发者] 8 月 25 日 下午 12:26 
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  [开发者] 8 月 25 日 下午 12:27 
So, likely you have bad loading order? It should give you red warning in the mods list, though
Serylt 8 月 26 日 上午 9:34 
引用自 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:
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50