RimWorld

RimWorld

EdB Prepare Carefully
 This topic has been pinned, so it's probably important
edbmods  [developer] 15 hours ago
Bugs and issues with version 1.6
We're not tracking any specific bugs right now. The mod seems to work pretty well with all of the expansions enabled and the handful of basic mods that we tried it with. Let us know if you're seeing any problems or running into compatibility issues with other mods.
< >
Showing 1-4 of 4 comments
Failed to patch EdB.PrepareCarefully.PanelAppearance: System.Exception: Parameter "customPawn" not found in method System.Single EdB.PrepareCarefully.PanelAppearance::DrawColorSelectorForPawnLayer(EdB.PrepareCarefully.CustomizedPawn customizedPawn, System.Single cursorY, System.Collections.Generic.List`1<UnityEngine.Color> swatches, System.Boolean allowAnyColor)
[Ref 633F0A09]
at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpInstanceBoxingVar, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Boolean& refResultUsed, System.Collections.Generic.List`1[T] tmpBoxVars) [0x00aac] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.MethodPatcher+<>c__DisplayClass39_0.<AddPostfixes>b__1 (System.Reflection.MethodInfo fix) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.MethodPatcher.AddPostfixes (System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean passthroughPatches) [0x00040] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x003e6] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <8124cc12bdf242eab0a5f7e7edecf387>:0
<0x293bc0f2380 + 0x001a2> <unknown method>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
GradientHair.GradientHair:.ctor (Verse.ModContentPack)
System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool)
System.Reflection.RuntimeConstructorInfo:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.RuntimeConstructorInfo: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__10_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 ()


This error still exist until 1.5, its not gamebreaking but its there.
Hi, first of all thanks for the mod and the fast update! It so seems I got a bug. Ingame EDB only shows as the 1.5 version. I already unsubscribed and resubscribed several times, restartet the game a few times and am still only getting version 1.5.12 ingame. can you help?

I also found this in the dbug log: (by the way im playing in an M1 Mac)

Error in static constructor of EdB.PrepareCarefully.HarmonyPatches.Main: System.TypeInitializationException: The type initializer for 'EdB.PrepareCarefully.HarmonyPatches.Main' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method virtual System.Void RimWorld.Page_ConfigureStartingPawns::DoWindowContents(UnityEngine.Rect rect) ---> System.NotImplementedException: The method or operation is not implemented.
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <8124cc12bdf242eab0a5f7e7edecf387>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0
at EdB.PrepareCarefully.HarmonyPatches.Main..cctor () [0x00011] in <b5f52b08cb3d468aa159429580c2fb7d>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <79a1904c928a4c2d9eba5ede6e6aa92e>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <534823b972414f9f979a1cf5b707e890>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Last edited by Diving Kangaroo; 8 hours ago
@Relegance your error is thrown by a compatibility patch from Gradient Hair
edbmods  [developer] 2 minutes ago 
@Relegance Like @bradson is saying, this is an issue in the Gradient Hair mod that the author would need to fix. They have code in their mod that made it work with earlier versions of Prepare Carefully. Unfortunately there were a lot of changes to the 1.5 version of Prepare Carefully that broke their compatibility patch, and I don't think the were able to update or remove it.
< >
Showing 1-4 of 4 comments
Per page: 1530 50