RimWorld

RimWorld

Goji's Fantasy Race: Merren
My merren's tail wont draw, is this my fault?
Her tail wont draw and im getting this error:

Exception drawing Kazuya: System.NullReferenceException: Object reference not set to an instance of an object
at StagzMerfolk.HarmonyPatches.PawnGraphicSet_ResolveAllGraphics_FishtailPatch.Postfix (Verse.PawnGraphicSet __instance) [0x00071] in <8c73b0eac719458fa4c169c263037d18>:0
at (wrapper dynamic-method) Verse.PawnGraphicSet.Verse.PawnGraphicSet.ResolveAllGraphics_Patch10(Verse.PawnGraphicSet)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnAt_Patch5(Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3 loc) [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.DrawAt_Patch1(Verse.Pawn,UnityEngine.Vector3,bool)
at Verse.Thing.Draw () [0x00015] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.ThingWithComps.Draw () [0x0000e] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x000d8] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.DynamicDrawManager:DrawDynamicThings ()
Verse.Map:MapUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

Any ideas?
< >
Showing 1-5 of 5 comments
Kalter Stahl 5 Apr, 2024 @ 5:07pm 
Ok so I force fixed it with dev mode... it looks like what caused it was me saving the character with 'Prepared Carefully' while wearing a V neck dress from 'Dresses In The Rim'.

When I loaded the character up again I think she loaded up with no tail image, no tail genes, and no tail health defs.. because her legs were covered?
Once in game I reapplied her xenotype with the dev mode and her cyan tail gene and a recessive tail random color gene showed up. Reloaded, no tail graphic, no tail health defs on legs and she had no clothes on by this point.
So then I spawned another Merren raider to look at them and they dont have the recessive random tail color gene so I got rid of that. Reloaded and yeay tail graphic!
Manually gave her back the fishtail on legs health defs with dev mode, redressed her, and save-loaded and everything seems fine now..

Tho I have 2 questions: (ok maybe 3)
- Are Merren not meant to wear clothes that cover the legs?
-Whats up with re-applying the xenotype in dev mode giving a tail color endogene and a recessive tail random color endogene that seem to cancel each other out graphically? Was that just my end being weird with a Mod conflict? (there def seems to be a mod conflict with 'Prepare Carefully' when loading up a Merren with clothes covering the not-legs)

Sorry for eating up a discussion board! Hopefully this helps someone! I still love yalls beautiful mod!
Last edited by Kalter Stahl; 5 Apr, 2024 @ 5:09pm
Goji  [developer] 10 Apr, 2024 @ 4:07pm 
Hi, I'm sorry I didn't see your post until now.

Just to answer your question as I just updated the mod to 1.5:

1. Per my previous comment, yes, they are not meant to wear leg-only apparel. It is noted in the gene description on this page but I understand people sometimes don't read it :) This is both for lore and balance reasons as they are excellent melee fighters with almost full dodge chances in water. Try to negate that with full suits in mid/late game.

2. I just tried to use dev mode to force apply a merren xenotype and I cannot replicate the cancel out bug. It sounds pretty weird but for now my advice would be to delete one of them using dev mode as a make-do solution (like what you did in the post).

I have to say the fishtail gene in nature is a little pecular. It is essentially a unique bionics tied to a gene so I imagine there is some unexpected incompatibility out there and the code will need to see the mod lost/log to see what's causing it.

Also, please ditch ‘prepare carefully’. It is infamously buggy and has a random chance to break your save. I'mt not sure the character editor has been updated to 1.5 but try to use that instead!
Kalter Stahl 10 Apr, 2024 @ 4:31pm 
Hmmm ok thanks, I'll look into using just character editor; I havent wanted to move away from PreC because I like its UI on colony creation waaay more and keep hoping it will be updated but yeah.. it might be time to move on.. heck. Maybe its whats been causing my UI window error while building the world on colony start lol
Goji  [developer] 12 Apr, 2024 @ 10:43am 
Originally posted by Kalter Stahl:
Hmmm ok thanks, I'll look into using just character editor; I havent wanted to move away from PreC because I like its UI on colony creation waaay more and keep hoping it will be updated but yeah.. it might be time to move on.. heck. Maybe its whats been causing my UI window error while building the world on colony start lol

Hey, just a heads up

there is a new mod that combines both character editor and prepare carefully: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3219801790

Check it out as it made by some excellent modders. I fully expect this to be the new character editor.
Kalter Stahl 15 Apr, 2024 @ 8:56am 
Oooo~ yeah I'll check this out! Thanks!
< >
Showing 1-5 of 5 comments
Per page: 1530 50