Hello everyone, thanks for the mod author contribution.
I happen to stumble on an annoyinbg bug that make trading with NPC impossible. Fairly well explained in this reddit link :
https://www.reddit.com/r/RimWorld/comments/gck463/unable_to_trade_with_trading_visitors/
I can also provide a video if needed.
And here is my error log :
[Children_and_Pregnancy][ERR] Failed to apply Harmony patches for children.and.pregnancy. Exception was: HarmonyLib.HarmonyException: Patching exception in method System.Void Verse.Pawn_HealthTracker::CheckForStateChange(System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff hediff) ---> System.Exception: Wrong null argument: br NULL
at HarmonyLib.MethodBodyReader+<>c__DisplayClass21_0.<FinalizeILCodes>b__2 (HarmonyLib.CodeInstruction codeInstruction) [0x0015c] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x001f7] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00209] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x0015d] in <2161c8330234450b8141397c32c11571>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2161c8330234450b8141397c32c11571>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x00095] in <16781bf8b2ce4f1e84cb63572631a10b>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
[HugsLib] initializing Children_and_Pregnancy
Mod BabyAndChildren CE Patch is missing packageId in About.xml! (example: <packageId>AuthorName.ModName.Specific</packageId>)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Mod Smart Speed: targetVersion field is obsolete, use supportedVersions instead.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
PS : I run the mod with CE enabled.
I happen to stumble on an annoyinbg bug that make trading with NPC impossible. Fairly well explained in this reddit link :
https://www.reddit.com/r/RimWorld/comments/gck463/unable_to_trade_with_trading_visitors/
I can also provide a video if needed.
And here is my error log :
[Children_and_Pregnancy][ERR] Failed to apply Harmony patches for children.and.pregnancy. Exception was: HarmonyLib.HarmonyException: Patching exception in method System.Void Verse.Pawn_HealthTracker::CheckForStateChange(System.Nullable`1<Verse.DamageInfo> dinfo, Verse.Hediff hediff) ---> System.Exception: Wrong null argument: br NULL
at HarmonyLib.MethodBodyReader+<>c__DisplayClass21_0.<FinalizeILCodes>b__2 (HarmonyLib.CodeInstruction codeInstruction) [0x0015c] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x001f7] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00209] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x0015d] in <2161c8330234450b8141397c32c11571>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2161c8330234450b8141397c32c11571>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x00095] in <16781bf8b2ce4f1e84cb63572631a10b>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
[HugsLib] initializing Children_and_Pregnancy
Mod BabyAndChildren CE Patch is missing packageId in About.xml! (example: <packageId>AuthorName.ModName.Specific</packageId>)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Mod Smart Speed: targetVersion field is obsolete, use supportedVersions instead.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
PS : I run the mod with CE enabled.