-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Using Project Rimfactory Revived in this example, but reproducible with similar mods.
Similar to the issue with workbenches 1.6 - > 1.6.2; when a machine uses bills but has no assignable workers (either because it lacks an interaction spot, or doesn't allow skilled labor), an inability to close the Bill GUI arises.
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object [Ref 4ACE4808] at ImprovedWorkbenches.BillConfig_PreClose_Detour.Postfix (Verse.Window __instance) [0x0004e] in <3e6e075444894da085ac3eb800cf53af>:0 at Verse.Window.PreClose () [0x00000] in <ed371ab4349b419183d9be3af652e6dc>:0 - POSTFIX falconne.BWM: Void ImprovedWorkbenches.BillConfig_PreClose_Detour:Postfix(Window __instance) at Verse.WindowStack.TryRemove (Verse.Window window, System.Boolean doCloseSound) [0x00051] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.Window.Close (System.Boolean doCloseSound) [0x00005] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.Window.OnCancelKeyPressed () [0x00008] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.WindowStack.Notify_PressedCancel () [0x00056] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.WindowStack.HandleEventsHighPriority () [0x00049] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.UIRoot.UIRootOnGUI () [0x00049] in <ed371ab4349b419183d9be3af652e6dc>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.UIRoot_OnGUI_Patch:OnGUIHook() at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <ed371ab4349b419183d9be3af652e6dc>:0 at Verse.Root.OnGUI () [0x00046] in <ed371ab4349b419183d9be3af652e6dc>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
1.6.2 update fixes issue with other workbenches but machines that previously worked alongside BWM/IW now exhibit this behavior.
Unsure how long this issue has existed as I've only just reached the ability to automate production in my Colony. BWM has worked in the past alongside PRF.
