RimWorld

RimWorld

[JPT] Human Resources
 This topic has been pinned, so it's probably important
jptrrs  [developer] 8 Jun, 2020 @ 7:56pm
Found an error, a bug or a glitch? Do this.
TL;DR
  • If you want me to read it, post your issue on our GitHub page[github.com].
  • I only care about issues you can reproduce. "It happened once" is useless information and will be ignored.
  • Before anything, UNLOAD ALL other mods (except dependencies), and make sure you're getting the issue with just this mod and, if that's the case, that ONE other mod that's causing a conflict.
  • Follow the Express Troubleshooting Method detailed below to do that efficiently.
  • Simply pasting an error text accomplishes nothing. Always grab the full ctrl+F12 log.
  • Keep the bugged save file around, I might ask for it.

Your help squashing bugs and improving performance is greatly appreciated. If you are experiencing a glitch, unreasonable lag, or if you stumbled on an error you think was caused by this mod, please try this:

1. Check if someone already reported your issue
Since Steam doesn't really offer a good way of tracking errors, I use this feature on GitHub[github.com], which makes it much easier to communicate. Please, help me keep my sanity by referring there for any issues you might have. If it's already there, maybe you can add some more information. Or else, if you believe you found something new, then keep reading to see what I need you to do.

2. Save the flawed game right away.
This way you can always find that bug again when you want to test it out and check if it's solved. Also, I might ask you to send me this file to investigate the issue. Put that in a separate file, and make a copy of your last autosave as well, if you can (sometimes it is necessary to step back to hunt for a bug).

RimWorld's save files are typically found at C:\Users\[USERNAME]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves. If you're in a permadeth game, you can turn that off by editing the file on a text editor. Look for <permadeathMode> and replace "true" with "false".

3. Make sure you're not missing the obvious.
This might sound dumb, but many people skip the basics and go straight to complaining. So, please, don't be that guy: double check if you're running the latest version for both RimWorld and this mod (check here), double check if this mod is loaded in the correct order (the mods menu will tell you that) and that you have either ResearchTree or ResearchPal installed.

4. Let's isolate the problem.
If you're a regular RimWorld player you're probably using a lot of other mods. While that makes for a great game, it also introduces a ton of possible failure points. Before I can be of any help, I need to know where the problem is coming from, and you are the only one who can figure it out! The way to do that is by testing if the error still happens when other mods are off. Here's what you gotta do:
  1. Reset your mod list to only Harmony, the Core, HugsLib and Research Tree/Pal followed by this mod, and restart.
  2. If your issue occurs in-game, turn on the developer tools on options and click on that quickstart button at the top of your screen to generate a new game quickly (pick the smallest map for speed).
  3. Try to reproduce what you were doing when the error happened. In game, use the god mode if you have to build stuff and the debug actions menu if you need to. If its an error on load, you can save this game and try reloading it to test it out. If it doesn't happen, then it's something else. In that case:
  4. Back on the mod list, try adding any other mod you were using. Ideally, add one by one, restarting and repeating the last step until you cause that error again. But if you have too many mods for that, try this:

Express Troubleshooting Method
  1. If you didn't already, subscribe to Mod Manager or RimPy. Those will allow you to save mod lists and load many mods at a time. RimPy will require you to download and install an external application, but it's worth it, I promise.
  2. Save a list with those basic mods from step 1, maybe with other core dependencies the other mods might need to run.
  3. Load half the other mods. Say you have 100 mods, load #1 through #50. Then test for the issue. If it didn't happen, then reduce back to the basics and load mods 51 - 100. Test again. Now you know which half causes the problem, focus on that.
  4. Say your problem was in the first half: now load 1-25 and test. Then 25-50. Again, focus on the half that manifests the problem and repeat.
  5. Do this until you nail the conflicting mod. It shouldn't take long, as each time you restart you're loading less mods. ;-)

If you can't reproduce it, even with your full mod list reloaded, maybe you already fixed it! In that case, just keep your eyes open. If it happens again, take note of what was happening at the time and try again.

5. Once you are able to reproduce the error, send me your log!
For the most part, I pretty much can't do anything without some basic info on what was going on in your system when the error happened. Luckily, HugsLib has this neat feature that allows you to upload an error log without ever leaving the game! When the error pops up, hit CTRL+F12, click on "upload" and copy that link! (If for whatever reason you can't upload, uncheck "use recommended settings", copy the log to the clipboard and paste it to a sharing site.)

Now you're ready to report an issue[github.com]. Please, include info on what the problem is, what you were doing when it happened and, if another mod is involved, a link to it.

Also, don't hesitate to leave a note if you're having any difficulty with this.

Thanks!
Last edited by jptrrs; 3 May, 2022 @ 5:56am
< >
Showing 1-15 of 46 comments
jptrrs  [developer] 27 Jun, 2020 @ 4:03pm 
To everyone: my free time has become very limited these days (too little actual support to develop mods :steamsad:), so I've been focusing on what I can actually get done. Please, if you're going to report anything, use the issues on github: https://github.com/jptrrs/HumanResources/issues
Thx!
Last edited by jptrrs; 30 Jul, 2020 @ 7:38am
Thiefers 4 Nov, 2020 @ 9:34am 
"Could not find player faction." is a compatibility issue between Faction Control and some of the Vanilla expanded mods; you can fix that one by turning off dynamic faction color from Faction Control settings. Also Real Faction Guest has issues with a few faction mods.
Demoboca 30 Nov, 2020 @ 3:37pm 
The Hospital Extended mod adds its own category tab for medical stuff. For some reason, the research bench is under there! I assume some sort of incompatibility.
Franimus 30 Nov, 2020 @ 7:28pm 
@Demoboca You can use a supermod like DocWorld to fix that
Blhite 27 Jan, 2021 @ 1:49am 
The books I saw in colonies are blank, and if I buy it, it does not thing once brought back.
jptrrs  [developer] 27 Jan, 2021 @ 3:25am 
BLHITE: They tried to scam you! :-)
But seriously, that's most likely an error on the stock generation. It helps if you can isolate the involved mods and send me the error log.
JobDriver threw exception in initAction for pawn Roth-Kelly driver=JobDriver_DoBill (toilIndex=23) driver.job=(DoBill (Job_68316) A=Thing_StudyDesk66332)
System.NullReferenceException: Object reference not set to an instance of an object
at Verse.AI.Toils_Recipe+<>c__DisplayClass1_0.<MakeUnfinishedThingIfNeeded>b__0 () [0x000a6] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Verse.Log.Error_Patch3(String, Boolean)
Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch2(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Notify_PatherArrived()
Verse.AI.Pawn_PathFollower:PatherArrived()
Verse.AI.Pawn_PathFollower:Verse.AI.Pawn_PathFollower.StartPath_Patch2(Pawn_PathFollower, LocalTargetInfo, PathEndMode)
Verse.AI.<>c__DisplayClass1_0:<GotoThing>b__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:JumpToToil(Toil)
Verse.AI.<>c__DisplayClass1_0:<JumpIf>b__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Notify_PatherArrived()
Verse.AI.Pawn_PathFollower:PatherArrived()
Verse.AI.Pawn_PathFollower:TryEnterNextPathCell()
Verse.AI.Pawn_PathFollower:Verse.AI.Pawn_PathFollower.PatherTick_Patch0(Pawn_PathFollower)
Verse.Pawn:Verse.Pawn.Tick_Patch1(Pawn)
DTimeControl.TCTickList:TickThing(Thing)
DTimeControl.TCTickList:DoTick(Double, Boolean)
DTimeControl.TimeControlBase:TickManagerTick(TickManager, Boolean)
DTimeControl.Core_Patches.Patch_DoSingleTick_Prefix:Prefix(TickManager)
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:Verse.Game.UpdatePlay_Patch2(Game)
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)

I think this is causing my issue with my study bills.
jptrrs  [developer] 1 Feb, 2021 @ 7:47am 
Vintage Fruitcake: again, please check the instructions above.
I believe that Z-levels bugs out the jobdriver
jptrrs  [developer] 3 Feb, 2021 @ 6:12am 
Vintage Fruitcake: without a relieable way to reproduce the issue and your full error log my hands are tied. Please, check the instructions above.
#6 26 Mar, 2021 @ 11:55am 
New issue for you. i've tested with only this mod and ResearchPal - Forked, ResearchPal, and Research Tree, and dependencies of course. When I get to the main menu the game crashes to desktop as soon as I click any button at all. Sorry I can't give a log as it doesn't seem to generate one.
jptrrs  [developer] 26 Mar, 2021 @ 4:52pm 
Sixdd: Don't Ctrl+F12 work if you press it before clicking on some button?
#6 6 Apr, 2021 @ 10:20pm 
I made some headway. I got tired of the laggy mouse-drag on the linux build of the game and installed the windows build through Steam Play. Turns out the game doesn't crash on the windows build. I've no idea what could cause the crash I was experiencing on the linux build but it's working for me now. I guess if anyone on linux mentions the crash just point them to the Steam Play version or tell them to install the game through Lutris with Proton as that also seems to be fine.

EDIT: Just reporting back again, I just tried to load up the mod with over 350 other mods and all is well, just seems to be something with the linux build that didn't like it. Thanks for another great mod man!
Last edited by #6; 6 Apr, 2021 @ 10:54pm
jptrrs  [developer] 7 Apr, 2021 @ 3:00am 
I'm glad you figured it out and came back to tell us, Sixdd! This might be useful knowledge for someone. Thx!
Arcanant 4 Sep, 2021 @ 4:44pm 
On startup I am getting these yellow errors, what do they mean exactly?

[HumanResources] No relevant skills could be calculated for BrainWiring. It won't be known by anyone.
[HumanResources] No relevant skills could be calculated for ResearchProject_RotRStoneRoad. It won't be known by anyone.
[HumanResources] No relevant skills could be calculated for ResearchProject_RotRAsphaltRoad. It won't be known by anyone.
[HumanResources] No relevant skills could be calculated for ResearchProject_RotRGlitterRoad. It won't be known by anyone.


I am not sure where BrainWiring is coming from. Probably Urban Carbon?
Roads of the Rim for the last 3 errors, does it need a patch?
< >
Showing 1-15 of 46 comments
Per page: 1530 50