RimWorld

RimWorld

I Have The Cure! [Framework]
Conit 16 Apr, 2023 @ 7:13am
Error with Performance Optimizer
This is the error I get when using this with Performance Optimizer. Sorry I don't have Huglib log, it won't let me upload.

Exception filling window for Verse.Dialog_InfoCard: System.NullReferenceException: Object reference not set to an instance of an object at DMD<>?1190585600.IHaveTheCure.HediffStatsUtility_SpecialDisplayStats_Patch+<Postfix>d__0.MoveNext_Patch0 (IHaveTheCure.HediffStatsUtility_SpecialDisplayStats_Patch+<Postfix>d__0 this) [0x000b5] in <2f565109d1074c5a85a6ff41efe7e6ea>:0 at Verse.HediffDef+<SpecialDisplayStats>d__74.MoveNext () [0x00085] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at DMD<>?-257761536.IHaveTheCure.HediffDef_SpecialDisplayStats_Patch+<Postfix>d__0.MoveNext_Patch0 (IHaveTheCure.HediffDef_SpecialDisplayStats_Patch+<Postfix>d__0 this) [0x00097] in <b257ef8c9d0d45b8a2269b1a2187c297>:0 at RimWorld.IngestionOutcomeDoer_GiveHediff+<SpecialDisplayStats>d__6.MoveNext () [0x00088] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at RimWorld.IngestibleProperties+<SpecialDisplayStats>d__41.MoveNext () [0x0020e] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at Verse.ThingDef+<SpecialDisplayStats>d__358.MoveNext () [0x00e93] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at RimWorld.StatsReportUtility.DrawStatsReport (UnityEngine.Rect rect, Verse.Thing thing) [0x00025] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at Verse.Dialog_InfoCard.FillCard (UnityEngine.Rect cardRect) [0x00030] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <b3561b1be0664abaaf1e5c4602ec1431>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <b3561b1be0664abaaf1e5c4602ec1431>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-1 of 1 comments
explodoboy  [developer] 5 May, 2023 @ 3:56pm 
A workaround for this issue is turning off 'Faster GetComp methods replacement' in Performance Analyzer's options, as discovered by a commenter.

I cannot fix this on my end, due to not knowing C# coding nor having enough money to commission another update for I Have The Cure!
< >
Showing 1-1 of 1 comments
Per page: 1530 50