Mehni/kNumbers

Numbers and Wildlife tabs won't open

Closed this issue · 1 comments

The logs returns the following:

https://pastebin.com/mRpdL51a

(The actual log errors when clicking both tabs are the blocks towards the end starting with "Root level exception in OnGUI():..." for each tab, respectively)

I haven't updated to 1.5 yet (nor anomaly), so it's not that.
I don't have Jecs.
Number mod as close to the top and to Hugs as possible,
I unsubed and re-subbed again.
Verified local integrity of game files.
I cross-examined with other mods, including disabling Better Pawn control.
I also tried the Number 1.5 forked mod instead of this one. No luck
I also tried several combinations of "taking over" of the animals and wild life tabs.

Disabling this mod is the only thing that lets me open the wildlife tab again, but of course I don't have the numbers tab.

The exception thrown is a MissingMethodException at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValue__Patch0_(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks) [0x00085] in :0

The exception itself, at least in the practical realm of RimWorld modding, means that the code you're running was compiled against a different version of RimWorld than the one you're running. The (wrapper dynamic-method) combined with _Patch0_ further solidifies that: you're looking at method that was patched using Harmony. The method in question is StatWorker.GetValue.

Hugslib used to show method patches, that was its single useful feature. Does it not do that anymore? If there is an option for that, I could easily tell you exactly which mod is the culprit. It'll be the one that, well, patched the method in the stacktrace.

Are you running any 1.5 mods on a 1.4 version of the game?

There is one mod which does something obviously bad: Signs and Comments(Dark.Signs). It copies over all game-files. That has the potential to cause this error: it basically copies over whatever version of the game it was compiled against, which can severely mess things up. You should reach out to the mod author of that mod and inform them of this issue.

And as a final hunch: I know Rocketman does something with StatWorkers. Try it without that.