cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
118 stars 21 forks source link

[Humanoid Alien Races] Exception while opening pawn info window #772

Open maltiez2 opened 1 year ago

maltiez2 commented 1 year ago

Developer To Do Notes:

Non-Vanilla Bug Report

Describe the bug

Exception about filling window while opening pawn info window. Presumably same bug leads to exceptions with such mods as InventoryTab (while opening tab containing corpses).

Steps to reproduce the behavior (VERY IMPORTANT)

Just try opening pawn Info tab by clicking on "i" button.

Error Logs

Exception filling window for Verse.Dialog_InfoCard: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.Widgets.ThingIconWorker (UnityEngine.Rect rect, Verse.ThingDef thingDef, UnityEngine.Texture resolvedIcon, System.Single resolvedIconAngle, System.Single scale) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0 
  at Verse.Widgets.ThingIcon (UnityEngine.Rect rect, Verse.Thing thing, System.Single alpha, System.Nullable`1[T] rot) [0x00289] in <81af9f8a18324e17b286924a43555a7c>:0 
  at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00072] in <81af9f8a18324e17b286924a43555a7c>:0 
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <81af9f8a18324e17b286924a43555a7c>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

HugsLib log

https://gist.github.com/7b058cdee1f1b0f5958678651f4e0ade

Player.log (Optional)

Player.log

Save file

test.zip

Screenshots (Optional)

Mod list (Preferably a RimPy compatible list.)

[Mod list length: 7] Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077] Core [https:// no link (local mod)] Royalty [Official DLC] [https:// no link (local mod)] Ideology [Official DLC] [https:// no link (local mod)] HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962] Humanoid Alien Races [https://steamcommunity.com/sharedfiles/filedetails/?id=839005762] RimThreaded [https://steamcommunity.com/sharedfiles/filedetails/?id=2222907981]