RimWorld

RimWorld

LAFFEN Jun 9, 2024 @ 4:16pm
Can't build Hi-Tech research bench.
Hello and thanks for your input. I'm running various assortments of mods and I came upon a strange bug. Was ready to build a hi-tech research bench and when I went to select it, the GUI disappeared. Until now, I can build rest of anything but only hi-tech research bench.

Here's the debug log;


Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref CC992E53] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)


Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8B20BFEC] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch2 (Verse.Root)
Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
gegejake Jun 10, 2024 @ 11:42pm 
verify game integrity files
Cheet4h Jun 10, 2024 @ 11:57pm 
This seems relatively easy to test. To figure out if a mod is responsible, and which one, do the following:

Start a new game. Open dev mode and unlock the needed research. Then attempt to build the bench. Doesn't work? Then disable all mods, start a new game and attempt to build the bench there. If this works, it's a mod that's messing up.
You should probably save this state next to make sure you don't have to repeat the process of starting a new game and unlocking the research for the next steps.

So next take your mod list and only enable half of your mods. Load up the game and attempt to build the research bench. If it does work, disable all current mods and enable the other half, then test again.
Whenever you locate the set of mods that reproduces the error, you need to further divide the set until you're left with a single mod that causes it. It's likely you won't need to actually narrow down your mod list to a single mod, as a bit of logical deduction might let you figure out the responsible mod sooner (e.g. it's unlikely a mod introducing new animals will cause this, while a mod changing how researching works is more likely).

This is the quickest way to figure out which mod causes error that I know of. It's adapted from the "Quicksort" sorting algorithm, which is one of the fastest ones in use.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 9, 2024 @ 4:16pm
Posts: 2