Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numbers and Wildlife tabs won't open #76

Closed
juztforthelols opened this issue Apr 18, 2024 · 1 comment
Closed

Numbers and Wildlife tabs won't open #76

juztforthelols opened this issue Apr 18, 2024 · 1 comment

Comments

@juztforthelols
Copy link

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.

@Mehni
Copy link
Owner

Mehni commented Apr 18, 2024

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.

@Mehni Mehni closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants