RimWorld

RimWorld

Orassans
M.A.G.Gen. 14 Mar, 2022 @ 4:21pm
Bug report [Modpack] Orassans fight suit error
Error rendering pawn portrait: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenDraw.DrawMeshNowOrLater (UnityEngine.Mesh mesh, UnityEngine.Vector3 loc, UnityEngine.Quaternion quat, UnityEngine.Material mat, System.Boolean drawNow) [0x00004] in <0a775bedd7b4490c96114e4102b6584c>:0
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.DrawPawnBody_Patch0(Verse.PawnRenderer,UnityEngine.Vector3,single,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags,UnityEngine.Mesh&)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnInternal_Patch1(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags)
at Verse.PawnRenderer.RenderCache (Verse.Rot4 rotation, System.Single angle, UnityEngine.Vector3 positionOffset, System.Boolean renderHead, System.Boolean renderBody, System.Boolean portrait, System.Boolean renderHeadgear, System.Boolean renderClothes, System.Collections.Generic.Dictionary`2[TKey,TValue] overrideApparelColor, System.Nullable`1[T] overrideHairColor, System.Boolean stylingStation) [0x00138] in <0a775bedd7b4490c96114e4102b6584c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.PawnRenderer:RenderCache (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_Patch2 (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)
(wrapper dynamic-method) Verse.PawnRenderer:Verse.PawnRenderer.GetBlitMeshUpdatedFrame_Patch1 (Verse.PawnRenderer,Verse.PawnTextureAtlasFrameSet,Verse.Rot4,Verse.PawnDrawMode)
(wrapper dynamic-method) Verse.PawnRenderer:Verse.PawnRenderer.RenderPawnAt_Patch0 (Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
Verse.Pawn_DrawTracker:DrawAt (UnityEngine.Vector3)
Verse.Pawn:DrawAt (UnityEngine.Vector3,bool)
Verse.Thing:Draw ()
Verse.ThingWithComps:Draw ()
Verse.DynamicDrawManager:DrawDynamicThings ()
(wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch1 (Verse.Map)
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()

I don't know what is the case of this NullReferenceException but it appears in my modpack today -> if person wear Orassans fight suit -> error happens and you can see only pawn naked body -> no head no clothes no gun... WhatTheHack???
I will try test it separatly from my mods... But more than sure that the problem is in fight suit only...
Please help.
< >
Showing 1-4 of 4 comments
M.A.G.Gen. 14 Mar, 2022 @ 4:24pm 
There is the pic of... This... https://imgur.com/a/0Y4CAAe
Dosent matter who wear it... Same result for every race...
Last edited by M.A.G.Gen.; 14 Mar, 2022 @ 4:24pm
M.A.G.Gen. 14 Mar, 2022 @ 4:27pm 
If you change clothes in character editor bug disapear https://imgur.com/ETlAHKH -->> https://imgur.com/WJREEdP
Bruh... How can ONE part of apparel ruin the entire pawn render proccess???
M.A.G.Gen. 14 Mar, 2022 @ 4:29pm 
I need to say that this is quite annoing because it continues spamming same exceptions to my log journal...
M.A.G.Gen. 14 Mar, 2022 @ 4:32pm 
If you remove fight suit from Steam/steamapps/workshop/content/294100/1541519487/1.3/Defs/ThingDefs_Misc/Apparel_Various.xml bug disapear automaticly... (until next mod update)
< >
Showing 1-4 of 4 comments
Per page: 1530 50