RimWorld

RimWorld

Gore Upon Dismemberment
 This topic has been pinned, so it's probably important
moo 21 Jun @ 10:47am
[1.6] display glitch
Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 804D393E]
at GoreUponDismemberment.PawnRenderNode_Gore.GraphicFor (Verse.Pawn pawn) [0x00001] in <77f8dc3d696e47e5bda1ae6b4555f9d7>:0
at GoreUponDismemberment.PawnRenderNode_Gore.EnsureMeshesInitialized () [0x00008] in <77f8dc3d696e47e5bda1ae6b4555f9d7>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x0018f] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x001be] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x001be] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.PawnRenderTree.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x00010] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.PawnRenderer.EnsureGraphicsInitialized () [0x0000c] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.PawnRenderer.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Nullable`1[T] rotOverride, System.Boolean neverAimWeapon) [0x00003] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.Pawn.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x0000f] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.Thing.DynamicDrawPhase (Verse.DrawPhase phase) [0x00017] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x0006f] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.Map.MapUpdate () [0x000d4] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.Game.UpdatePlay () [0x00049] in <78bd3c897ba748f7a6d21cc5498c054e>:0
at Verse.Root_Play.Update () [0x00032] in <78bd3c897ba748f7a6d21cc5498c054e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root_Play:Update ()
< >
Showing 1-12 of 12 comments
moo 21 Jun @ 10:53am 
For those wondering, this mod is responsible for disappearing colonists, build orders, spots and more while there is a pawn in the screen area that is affected by this mod's gore.
ThumbStick  [developer] 23 Jun @ 5:27pm 
Hi, sorry for the inconvenience but I couldn't repeat the error my self (all dlc loadded / no dlc), can you share your mod list?
moo 23 Jun @ 5:57pm 
Since: I found a separate bug with one of the backstory mods that was also causing disappearing pawns. I'll put your mod back in rotation for the moment

List:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3507289931
ThumbStick  [developer] 23 Jun @ 10:29pm 
My game crashed every time when I tried to run the modlist, didn't know where I did wrong, but thanks to your logs, I made an update trying to resolve the problem, please inform me if the problem is still there.
moo 24 Jun @ 5:32pm 
I've readded it and watching for issues. That modlist is live updated, so it takes a bit of time to weed out problem mods
moo 28 Jun @ 6:25pm 
Has occurred again

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 401501DC]
at GoreUponDismemberment.PawnRenderNode_Gore.GraphicFor (Verse.Pawn pawn) [0x00001] in <653b4a68c3c84853ad22f520e0ea2659>:0
at GoreUponDismemberment.PawnRenderNode_Gore.EnsureMeshesInitialized () [0x00008] in <653b4a68c3c84853ad22f520e0ea2659>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x0018f] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x001be] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.PawnRenderNode.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x001be] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.PawnRenderTree.EnsureInitialized (Verse.PawnRenderFlags defaultRenderFlagsNow) [0x00010] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.PawnRenderer.EnsureGraphicsInitialized () [0x0000c] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.PawnRenderer.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Nullable`1[T] rotOverride, System.Boolean neverAimWeapon) [0x00003] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Pawn.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x0000f] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Thing.DynamicDrawPhase (Verse.DrawPhase phase) [0x00017] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x0006f] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Map.MapUpdate () [0x000e4] in <052ffdda8ff74a858542a735289dd477>:0
- PREFIX Dubwise.DubsBadHygiene: Void DubsBadHygiene.Patches.HarmonyPatches_Plumbing:GridRegen_Prefix(Map __instance)
at Verse.Game.UpdatePlay () [0x00049] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Root_Play.Update () [0x00032] in <052ffdda8ff74a858542a735289dd477>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Root_Play:Update ()
moo 28 Jun @ 6:27pm 
Here's a picture, it's 100% Squirt's fault in the scene

https://pasteboard.co/OuzQFLEqX08g.png
moo 28 Jun @ 6:37pm 
Not sure if this will help, but here's their saveables:
https://pastebin.com/JVD1ZY8t
moo 28 Jun @ 6:52pm 
Well, I can say that pulling your mod out for a second, made things marginally better. Instead of all pawns/animals on screen being invisible, it's just the offending pawn being invisible.

What this means is it's not your mod and I get to go track this down, BUT it does mean something unhandled/not referenced is being passed down to your mod which then does it's thing and makes it worse.
moo 28 Jun @ 8:30pm 
So it's already a reported/solved bug, and I'm stupid because I carried over the bug by continuing the save. Sorry for bugging you
ThumbStick  [developer] 29 Jun @ 2:43am 
@moo Thank you for the information
moo 1 Jul @ 7:55pm 
Hi again. I'm curious if Gradient Hair isn't playing nice with this mod.

Failed to find any texture while constructing . Filenames have changed; if you are converting an old mod, recommend renaming textures from *_back to *_north, *_side to *_east, and *_front to *_south.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
GradientHair.Graphic_MultiMask:Init (Verse.GraphicRequest)
Verse.GraphicDatabase:GetInner<GradientHair.Graphic_MultiMask> (Verse.GraphicRequest)
Verse.GraphicDatabase:Get<GradientHair.Graphic_MultiMask> (string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color,UnityEngine.Color)
GradientHair.Graphic_MultiMask:Get (string,string,UnityEngine.Color,UnityEngine.Color)
GradientHair.Patch.PatchPawnRenderNode_HairGraphicFor:Postfix (Verse.Pawn,Verse.Graphic&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnRenderNode_Hair.GraphicFor_Patch1 (Verse.PawnRenderNode_Hair,Verse.Pawn)
Verse.PawnRenderNode/<GraphicsFor>d__69:MoveNext ()
Verse.PawnRenderNode:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderNode:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderNode:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderTree:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderer:EnsureGraphicsInitialized ()
GoreUponDismemberment.HarmonyPatches.PawnKillPatch:Postfix (Verse.Pawn&,object[])
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Kill_Patch13 (Verse.Pawn,System.Nullable`1<Verse.DamageInfo>,Verse.Hediff)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn_HealthTracker.CheckForStateChange_Patch3 (Verse.Pawn_HealthTracker,System.Nullable`1<Verse.DamageInfo>,Verse.Hediff)
Verse.Pawn_HealthTracker:Notify_HediffChanged (Verse.Hediff)
Verse.Hediff:set_Severity (single)
Verse.HealthUtility:AdjustSeverity (Verse.Pawn,Verse.HediffDef,single)
Verse.HediffGiver_Bleeding:OnIntervalPassed (Verse.Pawn,Verse.Hediff)
Verse.Pawn_HealthTracker:HealthTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch0 (Verse.TickManager)
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
< >
Showing 1-12 of 12 comments
Per page: 1530 50