边缘世界 RimWorld

边缘世界 RimWorld

Dubs Mint Menus
Darth Tater 2022 年 12 月 10 日 下午 8:57
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?
< >
正在显示第 1 - 1 条,共 1 条留言
Darth Tater 2022 年 12 月 10 日 下午 8:58 
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)
最后由 Darth Tater 编辑于; 2022 年 12 月 10 日 下午 9:04
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50