RimWorld

RimWorld

Math! (Forked)
C.meals bug cause (I think)
For the c.meals bug, I think it's caused by pawns having meals in their inventory at any given time. Some mod (probably Common Sense) is having pawns keep one meal in inventory for easy meals on the go. This breaks math somehow so there's that. If your logs have the same message it's also probably the same bug
< >
Showing 1-2 of 2 comments
First log that fires once
Exception filling window for CrunchyDuck.Math.Dialog_MathBillConfig: System.NullReferenceException: Object reference not set to an instance of an object [Ref 4AFA84A1] at Verse.GenGrid.Walkable (Verse.IntVec3 c, Verse.Map map) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0 at Verse.GenGrid.Standable (Verse.IntVec3 c, Verse.Map map) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0 - TRANSPILER OskarPotocki.VanillaFurnitureExpanded.Security: IEnumerable`1 VFESecurity.Patch_GenGrid+Standable:Transpiler(IEnumerable`1 instructions) at Verse.ThingUtility.InteractionCellWhenAt (Verse.ThingDef def, Verse.IntVec3 center, Verse.Rot4 rot, Verse.Map map) [0x0004e] in <630e2863bc9a4a3493f2eff01e3a9556>:0 at Verse.Thing.get_InteractionCell () [0x00018] in <630e2863bc9a4a3493f2eff01e3a9556>:0 at CrunchyDuck.Math.CachedMapData.GetThings (System.String thing_name, CrunchyDuck.Math.BillComponent bc) [0x00149] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at <0x278c339f930 + 0x00332> <unknown method> at CrunchyDuck.Math.CachedMapData.SearchVariable (System.String input, CrunchyDuck.Math.BillComponent bc, System.Single& count) [0x0008c] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Math.AddParameters (NCalc.Expression e, CrunchyDuck.Math.BillComponent bc, System.Collections.Generic.List`1[T] parameter_list) [0x00032] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Math.DoMath (System.String equation, CrunchyDuck.Math.BillComponent bc, System.Single& result) [0x00131] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Math.DoMath (System.String equation, CrunchyDuck.Math.InputField field) [0x00007] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Dialog_MathBillConfig.MathTextField (CrunchyDuck.Math.InputField field, UnityEngine.Rect area) [0x00007] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Dialog_MathBillConfig.RenderBillSettings (Verse.Listing_Standard listing_standard) [0x00236] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Dialog_MathBillConfig.RenderMiddlePanel (UnityEngine.Rect rect) [0x0000f] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at CrunchyDuck.Math.Dialog_MathBillConfig.DoWindowContents (UnityEngine.Rect inRect) [0x00139] in <d76c5502f13b41c18d0cdc7b3df892f3>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Second log that spams 500+ times
Exception filling window for CrunchyDuck.Math.Dialog_MathBillConfig: System.NullReferenceException: Object reference not set to an instance of an object [Ref 4AFA84A1] Duplicate stacktrace, see ref for original UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-2 of 2 comments
Per page: 1530 50