RimWorld

RimWorld

Vanilla Ideology Expanded - Anima Theme
Hard crashes when another mod hooks Gizmo_PruningConfig.DrawBar
I suspect accessing "StrengthTex" and related fields of Gizmo_PruningConfig in your HarmonyInit class sets invalid data, which causes Unity to crash when drawing the texture.

========== OUTPUTTING STACK TRACE ================== 0x0000021B082A0681 (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Color,UnityEngine.Vector4,UnityEngine.Vector4,bool) 0x0000021B082A04FB (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Vector4,UnityEngine.Vector4,bool) 0x0000021B082A037B (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Vector4,UnityEngine.Vector4) 0x0000021B082A026B (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,UnityEngine.Vector4,single) 0x0000021B0827FF5B (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single,UnityEngine.Color,single,single) 0x0000021B0827FC23 (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool,single) 0x0000021B0827FB43 (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,bool) 0x0000021B0829FF5B (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode) 0x0000021B082A8263 (Mono JIT Code) UnityEngine.GUI:DrawTexture (UnityEngine.Rect,UnityEngine.Texture) 0x0000021B1045464B (Mono JIT Code) Verse.Widgets:FillableBar (UnityEngine.Rect,single,UnityEngine.Texture2D,UnityEngine.Texture2D,bool) 0x0000021B7F194343 (Mono JIT Code) (wrapper dynamic-method) RimWorld.Gizmo_PruningConfig:RimWorld.Gizmo_PruningConfig.DrawBar_Patch3 (RimWorld.Gizmo_PruningConfig,UnityEngine.Rect,single) 0x0000021C27FA724B (Mono JIT Code) RimWorld.Gizmo_PruningConfig:GizmoOnGUI (UnityEngine.Vector2,single,Verse.GizmoRenderParms) 0x0000021C27DC7355 (Mono JIT Code) Verse.GizmoGridDrawer:DrawGizmoGrid (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>,single,Verse.Gizmo&,System.Func`2<Verse.Gizmo, bool>,System.Func`2<Verse.Gizmo, bool>,System.Func`2<Verse.Gizmo, bool>) 0x0000021B7FC9FD33 (Mono JIT Code) (wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) 0x0000021C27DB1DB3 (Mono JIT Code) RimWorld.MainTabWindow_Inspect:DrawInspectGizmos () 0x0000021C27DB1C8C (Mono JIT Code) RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane) 0x0000021C27DB1A93 (Mono JIT Code) RimWorld.MainTabWindow_Inspect:ExtraOnGUI () 0x0000021B7FCD5E75 (Mono JIT Code) Verse.WindowStack:WindowStackOnGUI () 0x0000021C06DFF79B (Mono JIT Code) RimWorld.UIRoot_Play:UIRootOnGUI () 0x0000021B132EF655 (Mono JIT Code) (wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root) 0x00000219387EEC30 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x00007FF833DEE270 (mono-2.0-bdwgc) mono_get_runtime_build_info 0x00007FF833D72AE2 (mono-2.0-bdwgc) mono_perfcounters_init 0x00007FF833D7BB3F (mono-2.0-bdwgc) mono_runtime_invoke
< >
Showing 1-1 of 1 comments
magneticflux- 31 May, 2022 @ 8:42pm 
Removing VIEAT.dll from the mod fixes the issue, but, of course, the orange Gauranlen colors and dynamic textures are not modified to be green.
< >
Showing 1-1 of 1 comments
Per page: 1530 50