RimWorld

RimWorld

Dubs Mint Menus
Darth Tater 10 Dec, 2022 @ 8:57pm
Bug in dev mode when completing research
The optional research menu is nice, but I found a bug with it. If you go in and click "Fin" while dev mode is active then an error occurs.

https://gist.github.com/flimflamjazzam/a9c5c833e8f55c59c6543aac44f7ba6c

It does finish the research though, so I guess this is maybe more like a warning?
< >
Showing 1-1 of 1 comments
Darth Tater 10 Dec, 2022 @ 8:58pm 
BTW specific error from the spew is this:

Mint Research DrawPanel error
System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.ResearchManager.RimWorld.ResearchManager.FinishProject_Patch4(RimWorld.ResearchManager,Verse.ResearchProjectDef,bool,Verse.Pawn,bool)
at (wrapper dynamic-method) RimWorld.ResearchManager.RimWorld.ResearchManager.FinishProject_Patch4(RimWorld.ResearchManager,Verse.ResearchProjectDef,bool,Verse.Pawn,bool)
at DubsMintMenus.MainTabWindow_MintResearch.DrawPanel (UnityEngine.Rect rectum) [0x00731] in <7a6a6b6ef9c846628edec4e4d6902354>:0
at DubsMintMenus.MainTabWindow_MintResearch.DoWindowContents (UnityEngine.Rect inRect) [0x00436] in <7a6a6b6ef9c846628edec4e4d6902354>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
DubsMintMenus.MainTabWindow_MintResearch:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Last edited by Darth Tater; 10 Dec, 2022 @ 9:04pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50