RimWorld

RimWorld

Hive Armory
SonicDart 31 Jul, 2022 @ 2:22am
Soldier drones with hulking body type get invisable with hive plate armor
When a hulking body type soldier drone equips hive plate his head becomes invisable and gets renered nude, the error log gives me this:

Error rendering pawn portrait: Exception has been thrown by the target of an invocation.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
yayoAni.Patch_PawnRenderer_RenderCache:Prefix (Verse.PawnRenderer,Verse.Pawn,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, System.ValueTuple`2<UnityEngine.Color, bool>>,Verse.Rot4,single&,UnityEngine.Vector3,bool,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
(wrapper dynamic-method) Verse.PawnRenderer:Verse.PawnRenderer.RenderCache_Patch2 (Verse.PawnRenderer,Verse.Rot4,single,UnityEngine.Vector3,bool,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
RimWorld.PawnCacheRenderer:OnPostRender ()
(wrapper dynamic-method) RimWorld.PawnCacheRenderer:RimWorld.PawnCacheRenderer.RenderPawn_Patch3 (RimWorld.PawnCacheRenderer,Verse.Pawn,UnityEngine.RenderTexture,UnityEngine.Vector3,single,single,Verse.Rot4,bool,bool,bool,bool,bool,UnityEngine.Vector3,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
RimWorld.PortraitsCache:RenderPortrait (Verse.Pawn,UnityEngine.RenderTexture,UnityEngine.Vector3,single,Verse.Rot4,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
RimWorld.PortraitsCache:Get (Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
What_Is_My_Purpose.PurposeInfo:Make (Verse.LocalTargetInfo)
What_Is_My_Purpose.PurposeGizmoAdder:PurposeGizmoFor (Verse.Pawn)
What_Is_My_Purpose.GetGizmosAdder_Thing/<Postfix>d__0:MoveNext ()
Verse.ThingWithComps/<GetGizmos>d__33:MoveNext ()
BuryOnTheSpot.Patches.Bury_Gizmo/<Postfix>d__1:MoveNext ()
Verse.Pawn/<GetGizmos>d__234:MoveNext ()
System.Collections.Generic.List`1<Verse.Gizmo>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>)
System.Linq.Enumerable:ToList<Verse.Gizmo> (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>)
GiddyUpRideAndRoll.Harmony.Pawn_GetGizmos:Postfix (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>&,Verse.Pawn)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.GetGizmos_Patch17 (Verse.Pawn)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)


With other body types it workes normally
< >
Showing 1-2 of 2 comments
Bops ^_^ 31 Jul, 2022 @ 6:58pm 
I'm having the same issue
SonicDart 4 Aug, 2022 @ 3:00pm 
i also noted that thin body types for hivers have the same issue, only the male and female body type work, so halve.

As a temp solution i installed character editor to change the body types ingame
< >
Showing 1-2 of 2 comments
Per page: 1530 50