RimWorld

RimWorld

Hats Display Selection
Talesin Oct 27, 2022 @ 5:00pm
Bug report
Exception drawing Corpse_Human1140370: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenGrid.InBounds (Verse.IntVec3 c, Verse.Map map) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.RegionAndRoomQuery.RegionAt (Verse.IntVec3 c, Verse.Map map, Verse.RegionType allowedRegionTypes) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.RegionAndRoomQuery.DistrictAt (Verse.IntVec3 c, Verse.Map map, Verse.RegionType allowedRegionTypes) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.RegionAndRoomQuery.RoomAt (Verse.IntVec3 c, Verse.Map map, Verse.RegionType allowedRegionTypes) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.GridsUtility.GetRoom (Verse.IntVec3 loc, Verse.Map map) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.GridsUtility.UsesOutdoorTemperature (Verse.IntVec3 c, Verse.Map map) [0x00000] in <501333add04d433e9b8a51d43bed4954>:0
at HatDisplaySelection.Patch+<>c__DisplayClass31_0.<DrawHatWithHair_14>g__DrawApparel_14|2 (RimWorld.ApparelGraphicRecord apparelRecord) [0x0018a] in <b5fcfb647f1f4cae915fadc63c3e82fb>:0
at HatDisplaySelection.Patch.DrawHatWithHair_14 (UnityEngine.Vector3 rootLoc, UnityEngine.Vector3 headOffset, System.Single angle, Verse.Rot4 bodyFacing, Verse.Rot4 headFacing, Verse.RotDrawMode bodyDrawType, Verse.PawnRenderFlags flags, System.Boolean bodyDrawn) [0x00a5b] in <b5fcfb647f1f4cae915fadc63c3e82fb>:0
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnInternal_Patch4(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnAt_Patch1(Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
at Verse.Corpse.DrawAt (UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x0000b] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.Thing.Draw () [0x00015] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.ThingWithComps.Draw () [0x0000e] in <501333add04d433e9b8a51d43bed4954>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x000d8] in <501333add04d433e9b8a51d43bed4954>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.DynamicDrawManager:DrawDynamicThings ()
Verse.Map:MapUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()


This is the error log i get spammed with.
Had turned on hide on everything + auto hide hats indoor and sleep.

The human corpse1140370 mentioned in the log was a raider with a cowboy hat who i killed.

Edit: After some testing it seems to only react when i turn on auto hide (indoors)
No error appears when using only the other options.
Last edited by Talesin; Oct 27, 2022 @ 5:05pm
< >
Showing 1-2 of 2 comments
Vattende Nov 6, 2022 @ 2:11am 
I had also errors when i tried change some settings, like hide hair with some hats like rekon helmets, Left by default all seems fine.
Bear_Rain Dec 6, 2022 @ 12:22pm 
When this mod is used together with the Annelitrice and Ancient Species race mods, it will cause the race character to go bald
What I can find in common is that both races need to use the add-ons menu in the character editor to modify it when modifying their hairstyles
< >
Showing 1-2 of 2 comments
Per page: 1530 50