RimWorld

RimWorld

Transmog (Fork)
Error Reporting
Exception setting up dynamic nodes for Katelyn: System.NullReferenceException: Object reference not set to an instance of an object
[Ref FFE3D49D]
at Kijin3.KijinApparelOptionPatch.KijinApparelOption_Patch (RimWorld.Apparel& apparel, RimWorld.ApparelGraphicRecord& rec, System.Boolean& __result) [0x00011] in <f8bbf7dc25a34806b26c3511a3af0fba>:0
at RimWorld.ApparelGraphicRecordGetter.TryGetGraphicApparel (RimWorld.Apparel apparel, RimWorld.BodyTypeDef bodyType, System.Boolean forStatue, RimWorld.ApparelGraphicRecord& rec) [0x00285] in <981a33edf24d499488b0f820d94638e1>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Apparels.VanillaExpandedFramework_ApparelGraphicRecordGetter_TryGetGraphicApparel_Transpiler:Transpiler(IEnumerable`1 codeInstructions)
- TRANSPILER OskarPotocki.VFEMedieval: IEnumerable`1 VFEMedieval.ApparelGraphicRecordGetter_TryGetGraphicApparel_Patch:Transpiler(IEnumerable`1 codeInstructions)
- TRANSPILER medievalOverhaul: IEnumerable`1 MedievalOverhaul.Patches.ApparelGraphicRecordGetter_TryGetGraphicApparel:Transpiler(IEnumerable`1 instructions, ILGenerator il)
- TRANSPILER rimworld.gguake.ApparelBodytypeResolver: IEnumerable`1 ApparelBodyTypeResolver.HarmonyPatches:TryGetGraphicApparelTranspiler(IEnumerable`1 codeInstructions)
- PREFIX Core40k.Mod: Boolean Core40k.ApparelColourTwoPatch:Prefix(Boolean& __result, Apparel apparel, BodyTypeDef bodyType, ApparelGraphicRecord& rec)
- PREFIX taranchuk_apparelgraphicsMod: Void taranchuk_apparelgraphics.ApparelGraphicRecordGetter_TryGetGraphicApparel_Patch:Prefix(Apparel apparel, BodyTypeDef& bodyType)
- PREFIX BBBodySupport.BBBodyTypeSupportHarmony: Boolean BBBodySupport.BBBodyTypeSupportHarmony+BBBodyGraphicApparelPatch:BBBody_GraphicApparelPatch(Apparel& apparel, BodyTypeDef& bodyType, ApparelGraphicRecord& rec, Boolean& __result)
- POSTFIX Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_ApparelGraphicRecordGetter_TryGetGraphicApparel:Postfix(Apparel apparel, BodyTypeDef bodyType, ApparelGraphicRecord& rec, Boolean __result)
- POSTFIX WorldbuilderMod: Void Worldbuilder.ApparelGraphicRecordGetter_TryGetGraphicApparel_Patch:Postfix(Boolean __result, Apparel apparel, BodyTypeDef bodyType, Boolean forStatue, ApparelGraphicRecord& rec)
- POSTFIX Kijin3.Kijin3Harmony: Void Kijin3.KijinApparelOptionPatch:KijinApparelOption_Patch(Apparel& apparel, ApparelGraphicRecord& rec, Boolean& __result)
at Verse.DynamicPawnRenderNodeSetup_Apparel+<ProcessApparel>d__5.MoveNext () [0x0013e] in <981a33edf24d499488b0f820d94638e1>:0
at Transmog.HarmonyPatches.Prefix_GetDynamicNodes (Verse.Pawn pawn, Verse.PawnRenderTree tree, System.Collections.Generic.IEnumerable`1[System.ValueTuple`2[Verse.PawnRenderNode,Verse.PawnRenderNode]]& __result) [0x000f1] in <3a42bb75288d4d809871f473f89c7800>:0
at Verse.DynamicPawnRenderNodeSetup_Apparel.GetDynamicNodes (Verse.Pawn pawn, Verse.PawnRenderTree tree) [0x0001b] in <981a33edf24d499488b0f820d94638e1>:0
- PREFIX rw.mod.transmog: Boolean Transmog.HarmonyPatches:Prefix_GetDynamicNodes(Pawn pawn, PawnRenderTree tree, IEnumerable`1& __result)
at Verse.PawnRenderTree.SetupDynamicNodes () [0x00038] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX Fortified: Void Fortified.PawnRenderTree_SetupDynamicNodes_Patch:Postfix(PawnRenderTree __instance)
at Verse.PawnRenderTree.TrySetupGraphIfNeeded () [0x0009a] in <981a33edf24d499488b0f820d94638e1>:0
- TRANSPILER AK_DLL: IEnumerable`1 AK_DLL.HarmonyPatchs.Patch_RenderTreeOverride:tanspiler(IEnumerable`1 instructions)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnRenderTree.TrySetupGraphIfNeeded_Patch0 (Verse.PawnRenderTree)
Verse.PawnRenderTree:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderer:EnsureGraphicsInitialized ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnRenderer.DynamicDrawPhaseAt_Patch1 (Verse.PawnRenderer,Verse.DrawPhase,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
Verse.Pawn:DynamicDrawPhaseAt (Verse.DrawPhase,UnityEngine.Vector3,bool)
Verse.Thing:DynamicDrawPhase (Verse.DrawPhase)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (Verse.DynamicDrawManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch1 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-2 of 2 comments
Bounty  [developer] 6 hours ago 
Hello, Magia🔥Baiser

Thank you so much for your detailed bug report and the error log. I've looked into it, and I've found the source of the problem.

The issue is actually caused by a small bug within the Kijin mod. It's not a problem with Transmog itself.

What's Happening? (An Analogy)
Imagine the game is a kitchen, and each mod is a chef's assistant helping to dress a character.

My Transmog mod's job is to say, "I know you're actually wearing a steel helmet, but let's make it look like you're wearing a stylish hat." To do this, it hands the game a "ghost" of the hat—just its appearance, not the real item.

The game then shows this "ghost hat" to other assistants (other mods) to get their opinion.

When it gets to the Kijin assistant, it has a strange rule in its instruction book. The rule says: "First, check if there is no one wearing the hat. If no one is wearing it, then check the hair color of the person wearing the hat."

You can probably see the problem. You can't check the hair color of a person who doesn't exist! When my mod hands it the "ghost hat" that no one is technically wearing, the Kijin mod tries to follow its broken rule, gets confused (which causes the game to crash).

This is a known bug in the Kijin mod. It's the same issue that a user named seeki reported in the comments on the Kijin mod's page on July 17, 2025.

Why Can't Transmog Fix It?
Unfortunately, because the bug is in the Kijin mod, I cannot fix it from my side. Any attempts to create a workaround from within Transmog have proven to be unstable and have failed. The only stable and correct solution is for the bug to be fixed within the Kijin mod itself.

For now, the only guaranteed way to avoid this bug is to disable either the Transmog mod or the Kijin mod.

I sincerely apologize for the inconvenience this causes. I hope this explanation clarifies the situation. Thank you for your understanding.
Last edited by Bounty; 6 hours ago
Thank you for the clarification! Means it will be awhile longer before the issue gets solved elsewhere.
< >
Showing 1-2 of 2 comments
Per page: 1530 50