RimWorld

RimWorld

Oni of the Rim - Race mod
Bug Reports
Good evening.

Nothing brings such fun like one of the best "Rimworld" Race Mods ever made. However, that comes wi th issues from time to time. Please report them here.



-TURTLESHROOM
< >
Showing 1-3 of 3 comments
When I click on a Simple Wisplight Hive and try to choose its Recipes (e.g. Process Wisplight Eggs or Prime Wisplight Eggs) at said hive, "Rimworld" immediately freezes. All buttons become useless, I cannot close the windows, and it crashes to the desktop.

Specifically, I get this error:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object [Ref A1C7810A] at ImprovedWorkbenches.BillConfig_PreClose_Detour.Postfix (Verse.Window __instance) [0x0004e] in <3e6e075444894da085ac3eb800cf53af>:0 at Verse.Window.PreClose () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX falconne.BWM: Void ImprovedWorkbenches.BillConfig_PreClose_Detour:Postfix(Window __instance) at Verse.WindowStack.TryRemove (Verse.Window window, System.Boolean doCloseSound) [0x00051] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.Window.Close (System.Boolean doCloseSound) [0x00005] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX Mlie.TooltipsInDevmode: Void TooltipsInDevmode.DevTooltipCache_ClearOnClose:Postfix(Window __instance) at Verse.Window.OnCancelKeyPressed () [0x00008] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.WindowStack.Notify_PressedCancel () [0x00056] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.WindowStack.HandleEventsHighPriority () [0x00049] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.UIRoot.UIRootOnGUI () [0x00049] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.UIRoot_OnGUI_Patch:OnGUIHook() at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.UIRoot_Play_UIRootOnGUI_Patch:Postfix() at Verse.Root.OnGUI () [0x00046] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered() - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.Root_OnGUI_Patch:Postfix() NullReferenceException: Object reference not set to an instance of an object [Ref C978C4B6] Duplicate stacktrace, see ref for original Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object [Ref A1C7810A] Duplicate stacktrace, see ref for original NullReferenceException: Object reference not set to an instance of an object [Ref B0FB093E] Duplicate stacktrace, see ref for original NullReferenceException: Object reference not set to an instance of an object [Ref B0FB093E] Duplicate stacktrace, see ref for original NullReferenceException: Object reference not set to an instance of an object [Ref 406982ED] Duplicate stacktrace, see ref for original Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object [Ref E826CCE3] at ImprovedWorkbenches.BillConfig_PreClose_Detour.Postfix (Verse.Window __instance) [0x0004e] in <3e6e075444894da085ac3eb800cf53af>:0 at Verse.Window.PreClose () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX falconne.BWM: Void ImprovedWorkbenches.BillConfig_PreClose_Detour:Postfix(Window __instance) at Verse.WindowStack.TryRemove (Verse.Window window, System.Boolean doCloseSound) [0x00051] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.WindowStack.CloseWindowsBecauseClicked (Verse.Window clickedWindow) [0x0005f] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.WindowStack.HandleEventsHighPriority () [0x00023] in <cb53cd4422904947932d33f561ad8d15>:0 at Verse.UIRoot.UIRootOnGUI () [0x00049] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.UIRoot_OnGUI_Patch:OnGUIHook() at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.UIRoot_Play_UIRootOnGUI_Patch:Postfix() at Verse.Root.OnGUI () [0x00046] in <cb53cd4422904947932d33f561ad8d15>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered() - POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.Root_OnGUI_Patch:Postfix() NullReferenceException: Object reference not set to an instance of an object

I should note that I am using a Mod that changes how Bills work:
https://www.steamcommunity.com/sharedfiles/filedetails/?id=935982361


This is my Hugs Library Log: https://gist.github.com/HugsLibRecordKeeper/743cd3411b056616e6964a9bac01653f .
Tarojun  [developer] Aug 20 @ 12:41pm 
I just tested it myself with bare bones setup, and there were no issues. The changes look like they adapted over just fine, with the only issue being bills not auto-opening on selection when the options are selected.

If you the crashing issue persists, then you may choose to disable my custom thingClass that is almost 1:1 copy of the original, just to get it to work with the wisplight factor requirements. Some reason I had to do such a massive duplicate copy, and my skills aren't that good enough to figure out why. Disabling it will make the wisplight factor stuff have no meaning.

To disable that, here's a copy and paste of the custom patch for you (Some reason I redundantly added thingclass to one of the structures, this will remove it too):

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@Name="OotR_WisplightBuildingCrafting"]/thingClass</xpath>
<value>
<thingClass>Building_WorkTable</thingClass>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>/Defs/ThingDef[defName="OotR_WisplightHive_Synthesizer"]/thingClass</xpath>
</Operation>
Tarojun  [developer] Aug 21 @ 1:30pm 
I also realized you'd also need this too, my bad.

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[@ParentName="OotR_WisplightBuildingCrafting"]/inspectorTabs</xpath>
<value>
<inspectorTabs>
<li>ITab_Bills</li>
</inspectorTabs>
</value>
</Operation>
Last edited by Tarojun; Aug 21 @ 1:31pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50