RimWorld

RimWorld

Pick Up And Haul
This topic has been locked
Mehni  [developer] Dec 21, 2018 @ 5:43am
Bug reports
Bugs happen. I'm only human. I'm also not psychic, so if you're going to post about a problem:

1) Describe the problem.
2) Post an output_log. If you have hugslib installed, open the dev console and click the green button. If you don't have it installed, you can find the output_log in your RimWorld install directory.
< >
Showing 1-15 of 53 comments
Planetfall Jan 21, 2019 @ 10:23am 
I'm not certain this is a bug, as the log showed no errors. a colonist would try to pick something up then imediatly drop it then imedietly pick it up. I noticed it hapening because i was trying to figure out what the buzzing sound was. It was the thud sound of something being dropped overand over again. I thought maybe it was because her inventory was full but emptying it had no efect. I also made sure there was room in a stockpile for leather (the item she was trying to haul) but that didn't help. I odered her to move off the stockpile incase that was the isue. Instaid she then placed the item a tile away from her then ran to it then droped it a tile away again so she just started dribbling this stack of cloth like a basketball. It wasn't just cloth. I had her drop her gun and asked her to haul it and she did the same thing. I checked the log and it didnt say a thing. I saved and reloaded and she was still bugged. I'll post the log later. cant right now, sorry.

-Edit- this is the log i got when i boot up the home page {LINK REMOVED}
this is the log i got when i loaded the save and ran it for a few minutes with the pawn bugged out {LINK REMOVED}
This is odd, the problem is slightly diferent this time. the pawn spat errors repeatidly, but only while drafted. Also prioritizing work dosnt work at all. After a minut or so of trying frutlessly to pick up meat and vegitibles to cook some food, she gave up and went off to bed. I asked her to try and haul the pile of leather like last time. with the game paused i odered her to haul it and her activity listed her as hauling it and she showed that she was pathing twards it. But the instent i unpaused she switched back to resting. It wasnt even her sleep time! I tryed this three or four times with muliple taskes but all with the same result.

EDIT EDIT
Well... huh... I let it run some more and it just... stoped being bugged. i redid her restrictions so she would work 24:7. She got out of bed and tryed to haul the leather. Cue the pick up drop bug again. After a few ingame hours of that she just stood there flickering back and forth between two stacks of leather swapping between wich one she wanted to haul so quickly she didnt have time to pick either of them up. then out of the blue, she picks one stack up into her inventory, hauls it, and goes back to cooking just fine. I drafted her and she didnt spit errors and proritizing works just fine aswell. Nothing seems wrong at all any more. Come to think of it I've had simular things happen before with a pawn getting in a loop and then snapping out of it. It just never happend with Pick up and Haul enabled before so I'd never seen the dribbling thing. Hmm... So this probebly has nothing to do with your mod then... Drat I have no idea as to the culprit if so. On the other hand im glad this mod isnt the problem. I like it alot, and would be sad if it had a conflict or something.
Well i guess i'll keep playing, and see how long it is untill it breaks again.
Last edited by Planetfall; Jan 21, 2019 @ 11:56am
Mehni  [developer] Jan 22, 2019 @ 1:30am 
It's possible you've encountered some edge-case Pick Up and Haul eventually managed to recover from. Not all bugs show up in the log. Unfortunately this is the case for your log too, it doesn't provide a hint as to what caused the problem.

Next time it happens:

- Enable dev mode
- Debug actions menu (one of the star shaped dev-mode icons)
- Toggle job logging
- Click the pawn
- Let her run for a sec, then upload the log.

That might provide me with enough information to diagnose the problem, but jobs are notoriously hard to debug. No guarantees.
Planetfall Jan 22, 2019 @ 11:02am 
ok will do.
daemonbot Apr 15, 2019 @ 6:13am 
My pawns are stuck picking up nearly all of my food and carrying it around in their inventory. It's not even because they are hungry, since they have meals and most of what they are gathering is raw. They also pick up way more than their mass limit.

This is a long running colony that has around 10k+ in just raw meat. This issue has only recently cropped up and all of a sudden my colonists are putting several thousand units of food in their inventories.

Debug Log:
git(dot)io/fjmNc (Yay it refuses to let me post the link as is)
Last edited by daemonbot; Apr 15, 2019 @ 6:16am
Mehni  [developer] Apr 15, 2019 @ 8:45am 
Possibly a conflict with your storage mod. I am working with the community to get them to implement a simple shared interface, which will hopefully solve these issues in the long run.

Thanks for letting me know. Once the Interface is ready, I'll talk to KiameV.
Zapp Brannigan Apr 21, 2019 @ 11:02am 
Not sure if this is a bug or not, but colonists will frequently fill up their inventory with stuff to haul, and then drop about 90% of it and keep some food stuffs in their inventory. For example my colonists always seem to keep on them 1 meal and some random meat. This wouldn't be a problem if they colonists didn't then decide that when they are hungry to simply eat the meal they have right where they are standing, instead of heading to the dining room, thus getting a mood debuff for eating without a table. I tried to resolve this by setting their stock up for all food items to 0, however this causes them to pick up a food item to eat, and then immediately looking for a place to stockpile it.
Mehni  [developer] Apr 21, 2019 @ 11:44am 
Colonists keeping one meal and some random meat in their inventory is vanilla behaviour.

Stock up settings aren't a part of Pick Up and Haul, so I know nothing about that.
jose.faunon May 18, 2019 @ 2:48pm 
A pawn is picking and droping an item in loop. It can't do anything else in the entire day
Mehni  [developer] May 18, 2019 @ 10:27pm 
That is insufficient information for me to even attempt to reproduce the bug.
Rook01 May 19, 2019 @ 2:25pm 
I play with a large modlist. I have pawns who take an item to a pallet (Extended Storage by Skullywag) I have two pallets set to accept wood. They take it to the storage and just shuffle it around between the two pallets that are beside each other. They do that for awhile then stop and eventually repeat the process. Also my pawns take an item from the pallets and move it to the quarry platform (Quarry by The White Crayon) drop it and move it back to my pallets. The platform is set to low priority while the pallets are set to important. I have had this mod with the other two mods in my current modlist for a long time now and took a few week break and this didn't happen before my break. As this is the only mod I have that affects hauling (I think) I'll leave this here. I'll post my modlist and the error log that pops up when I open the game soon and I'll try to get a short recording of my pawns doing what I'm describing.
Mehni  [developer] May 20, 2019 @ 1:42am 
No need. The shuffle is a bug in Extended Storage.

ES has a few containers which have a max capacity of partial stacks, like 3 and a half stacks. Pawns try to balance stacks, but can't because they're inheritly unbalanced while in Extended Storage.

Not a bug in Pick Up and Haul, it's an old bug in Extended Storage.
Rook01 May 20, 2019 @ 11:33am 
Ok thanks. I guess I never really noticed it before yesterday, cheers!
Trexx2k May 27, 2019 @ 11:32am 
I've ran into a bug on a long running save, pawns will just stop attempting to haul and it prompts them to stop doing anything. The debug log seems to indicate an issue with pick up and haul, which is odd because for the most part this hasn't caused issues on this save for the whole time, it just randomly started up again.

Here is the debug log if you can help decipher what the issue could be (i have a lot of mods and probably a bad load order but it worked before):

https://gist.github.com/3b133e57b467cae72aada84e26f2dd16

edit: restarting the game and reloading the save, seems to have "fixed" the issue. though this may still want to be looked into if it's relevant.
Last edited by Trexx2k; May 27, 2019 @ 11:39am
rome of oxtrot Jun 4, 2019 @ 12:37pm 
Originally posted by daemonbot:
My pawns are stuck picking up nearly all of my food and carrying it around in their inventory. It's not even because they are hungry, since they have meals and most of what they are gathering is raw. They also pick up way more than their mass limit.

This is a long running colony that has around 10k+ in just raw meat. This issue has only recently cropped up and all of a sudden my colonists are putting several thousand units of food in their inventories.

Debug Log:
git(dot)io/fjmNc (Yay it refuses to let me post the link as is)
I notice that you're using both Common Sense and WM Smarter Food Selection. I too have been having this problem and think I've tracked it down to a weird interaction between (I think) Smarter Food, PU&H, a possible "bug" in Rimworld core, and possibly also a XML tweak that Common Sense makes, all which conspire to make pawns much more likely to stuff their inventories completely full of raw food if there is a shortage of cooked meals on the map.

Removing Common Sense's tweak doesn't stop this behavior, but it makes it less common. As best I can figure (and some of this is likely wrong but I'm sharing it so that people who know more might be able to figure it out more exactly) is that there's a function in the core game that encourages pawns, when idle, to pick up a food item to eat later, if they don't already have one. Apparently, they'll pick up any edible food whatsoever, but only consider cooked meals as proper food for this test; thus, if they're only carrying raw food they'll try to stuff new food into their inventory. (The jobgiver is called PackFood, for the technically interested.) This "thought" normally has a food threshold of 0.6, and so it's relatively difficult to trigger. Common Sense lowers it to 0.3, which makes it happen more often. Setting it back to 0.6 made this happen less, but not stop.

I don't think this is actually due to Common Sense itself, but is instead an interaction between PU&H, the core PackFood jobgiver, and maybe also WM Smarter Food Selection (which alters how pawns select food and might possibly cause PackFood to behave differently). I figured this out when I noticed that when a pawn is stuffing food into their inventories, the debug console is complaining about that pawn spawning too many jobs in a single second. Half of them were TakeInventory jobs that had been given by the PackFood jobgiver.

I don't know if this happens because PU&H allows TakeInventory to succeed even though the pawn is already carrying a food item (I seem to recall that in vanilla the pawn would drop the prior item when it picked up the new one), if something in the mad mess of mods I use is interfering with PackFood's routine to count the amount of food a pawn is already carrying, or if some other mad thing entirely is to blame.

The behavior goes away the instant I get enough prepared meals on map for everyone to carry exactly one, so I'm certain it has something to do with PackFood. But I can't say whether it's PU&H, Smarter Food Selection, or Rimworld core that is ultimately "to blame" here. Nor do I have any clue on how to "fix" it, other than to have your cooks prepare more meals.

*update* On further experimentation, it appears that I can stop this behavior by turning off WM Smarter Food Selection's option to handle colonist meals; thus, this behavior is apparently WM Smarter Food's fault.
Last edited by rome of oxtrot; Jun 4, 2019 @ 1:58pm
Mehni  [developer] Jun 5, 2019 @ 9:13am 
Great detective work! Those are hard bugs to track down. I'm glad I don't have to solve that one ^^
< >
Showing 1-15 of 53 comments
Per page: 1530 50