cseelhoff / RimThreaded

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

Ideology image alert error #671

Closed sealvessel closed 2 years ago

sealvessel commented 2 years ago

Describe the bug

Having Ideology, Hugslib and this mod it creates a flurry of errors whenever hovering over the "ideology image" desired alert.

Steps to reproduce the behavior (VERY IMPORTANT)

  1. Hover over the "Ideology image" when starting a new game.

    Error Logs

    Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.IdeoBuildingPresenceDemand.get_RoomRequirementsInfo () [0x00091] in <0449c5e9b8de427094b45999bcad39f5>:0 at RimWorld.Alert_IdeoBuildingMissing.GetExplanation () [0x0004e] in <0449c5e9b8de427094b45999bcad39f5>:0 at RimWorld.Alert.DrawInfoPane () [0x00023] in <0449c5e9b8de427094b45999bcad39f5>:0 at (wrapper dynamic-method) RimWorld.AlertsReadout.RimWorld.AlertsReadout.AlertsReadoutOnGUI_Patch1(RimWorld.AlertsReadout) at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play) at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) (wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)(edited)

    Player.log

    https://ghostbin.com/sseVQ

HugsLib log

https://gist.github.com/33fdd01695b2f1a526f7a55bcb303c0c

Save file

Just make a new save with alerts and an ideology which requires an image.

Screenshots

image

Mod list (For vanilla report, it has to be same as below list.)

sealvessel commented 2 years ago

Note that this only works on the default archotech ideology grand sculpture image, that is the wooden grand sculpture named "Archotech Image." This error also spams upon hovering the item in the ideology customize ideologion menu before starting the game. I can give an example partial screen recording tomorrow.

Niilo007 commented 2 years ago

I was unable to get any errors with the info provided, possible because this is fixed in 2.5.16 image

sealvessel commented 2 years ago

Its fixed, I hover over it and on the latest version from the discord server, nothing happens. I have made alot of new colonies for testing and have an image, and none had errors from hovering over a persistent letter.