RimWorld

RimWorld

Pick Up And Haul
 This topic has been pinned, so it's probably important
Mehni  [developer] May 23, 2021 @ 1:33am
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 error 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 playerlog in your RimWorld install directory.
< >
Showing 61-75 of 158 comments
Zentropy Nov 1, 2022 @ 3:35pm 
It IS from Common Sense. There's a (defaulted ON) setting that attempts to do somewhat the same thing PUAH is doing, so they conflict. Even without PUAH though, Common Sense's setting breaks the game, so that's the one that needs to go:

Open up Common Sense's mod options and UNCHECK "Pawns are encouraged to pick up all ingredients....". You can leave everything else alone, including PUAH. Unchecking that one box will fix everything in both mods
Redstylt Nov 2, 2022 @ 2:14pm 
Originally posted by Zentropy:
It IS from Common Sense. There's a (defaulted ON) setting that attempts to do somewhat the same thing PUAH is doing, so they conflict. Even without PUAH though, Common Sense's setting breaks the game, so that's the one that needs to go:

Open up Common Sense's mod options and UNCHECK "Pawns are encouraged to pick up all ingredients....". You can leave everything else alone, including PUAH. Unchecking that one box will fix everything in both mods
I did it but still pawn are acting weird (less but still)
Lokki Nov 5, 2022 @ 2:57am 
For some reason insects are hauling insect jelly into my storages.
Desthion Nov 5, 2022 @ 12:20pm 
If you use this mod and the Armor Rack mod pawns will not haul to the armor racks, they will carry the item over attempt to place it on the Armor rack and then give up and bring it to another stockpile
Gauron Nov 10, 2022 @ 6:07am 
Im having this strange error:

---------------------------------------------------------------------------------------------------------------------------------------

Tried to register the same list of load IDs twice. pathRelToParent=/ThingsHauledToInventory, parent=AFerian1108
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.LoadIDsWantedBank:RegisterLoadIDListReadFromXml (System.Collections.Generic.List`1<string>,string,Verse.IExposable)
Verse.LoadIDsWantedBank:RegisterLoadIDListReadFromXml (System.Collections.Generic.List`1<string>,string)
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.List`1<Verse.Thing>&,bool,string,Verse.LookMode,object[])
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.HashSet`1<Verse.Thing>&,bool,string,Verse.LookMode)
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.HashSet`1<Verse.Thing>&,string,Verse.LookMode)
PickUpAndHaul.CompHauledToInventory:PostExposeData ()
(wrapper dynamic-method) Verse.ThingWithComps:Verse.ThingWithComps.ExposeData_Patch2 (Verse.ThingWithComps)
Verse.Pawn:ExposeData ()
Verse.ScribeExtractor:SaveableFromNode<Verse.Thing> (System.Xml.XmlNode,object[])
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.List`1<Verse.Thing>&,bool,string,Verse.LookMode,object[])
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.List`1<Verse.Thing>&,string,Verse.LookMode,object[])
(wrapper dynamic-method) Verse.Map:Verse.Map.ExposeData_Patch1 (Verse.Map)
Verse.ScribeExtractor:SaveableFromNode<Verse.Map> (System.Xml.XmlNode,object[])
Verse.Scribe_Collections:Look<Verse.Map> (System.Collections.Generic.List`1<Verse.Map>&,bool,string,Verse.LookMode,object[])
Verse.Scribe_Collections:Look<Verse.Map> (System.Collections.Generic.List`1<Verse.Map>&,string,Verse.LookMode,object[])
(wrapper dynamic-method) Verse.Game:Verse.Game.LoadGame_Patch1 (Verse.Game)
(wrapper dynamic-method) Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch1 (string)
Verse.Root_Play/<>c:<Start>b__1_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

Could not get load IDs list. We're asking for something which was never added during LoadingVars. pathRelToParent=/ThingsHauledToInventory, parent=Copper
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.LoadIDsWantedBank:TakeList (string,Verse.IExposable)
Verse.CrossRefHandler:TakeResolvedRefList<Verse.Thing> (string,Verse.IExposable)
Verse.CrossRefHandler:TakeResolvedRefList<Verse.Thing> (string)
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.List`1<Verse.Thing>&,bool,string,Verse.LookMode,object[])
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.HashSet`1<Verse.Thing>&,bool,string,Verse.LookMode)
Verse.Scribe_Collections:Look<Verse.Thing> (System.Collections.Generic.HashSet`1<Verse.Thing>&,string,Verse.LookMode)
PickUpAndHaul.CompHauledToInventory:PostExposeData ()
(wrapper dynamic-method) Verse.ThingWithComps:Verse.ThingWithComps.ExposeData_Patch2 (Verse.ThingWithComps)
Verse.Pawn:ExposeData ()
Verse.CrossRefHandler:ResolveAllCrossReferences ()
Verse.ScribeLoader:FinalizeLoading ()
(wrapper dynamic-method) Verse.Game:Verse.Game.LoadGame_Patch1 (Verse.Game)
(wrapper dynamic-method) Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch1 (string)
Verse.Root_Play/<>c:<Start>b__1_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

----------------------------------------------------------------------------------------------------------------------------------------

What causes this?
VonArens Nov 10, 2022 @ 11:04am 
Getting an red error about 'Invalid Count' in regards to PUAH, not really sure if something was broken or not as I did not notice any weird gameplay.

https://gist.github.com/85a0ffe84791ac4840c376ce5545ee29
Victor Nov 14, 2022 @ 12:40pm 
The "Allow putting corpses in inventory" setting make it so guests can't be ordered to haul corpses, as their inventory is locked.
amorek Nov 21, 2022 @ 12:59am 
Hey, I have an issue where my pawns haul items in small quantity (like 3, 20, 50 etc. corn) to shelfs, but haul as expected to stockpile.

Not sure if it broke midgame or was like that from the beginning, but I think it's since mid-game.
It's for specific shelfs too - if I create new one in dev mode, it hauls properly.
It seems that it works properly when shelf is empty, but if shelf has some items then pawn will only haul enough to fill that one place on shelf.

The only mods that I suspect could conflict are Common Sense, Dubs Performance Analyser and Kanban stockpile, but it's still broken if I disable those mods.
Let me know how can I help with debugging that.

Edit #1:
To recreate the issue, I'm opening DevTest, building a couple of shelfs and spawn lots of corn. Observe, delete and recreate shelfs until the issue is visible.
At first corn is hauled properly, but as soon as some shelfs are half filled, pawns will only haul small quantities.



Also, this showed up:
Invalid count: 0, setting to 1. Job was HaulToInventory (Job_1363) A=Thing_RawCorn20225 B=(110, 0, 146)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.Toils_Haul:ErrorCheckForCarry (Verse.Pawn,Verse.Thing)
PickUpAndHaul.JobDriver_HaulToInventory/<>c__DisplayClass1_0:<MakeNewToils>b__2 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) Verse.AI.Pawn_PathFollower:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()


Edit #2
See the screenshot. I've disabled all mods except Pickup and Haul
https://imgur.com/a/0ZYz9Ep
Last edited by amorek; Nov 21, 2022 @ 1:14am
pureMJ Nov 29, 2022 @ 9:58pm 
I got exactly the same error log as amorek.

Also, I noticed that my pawn cannot haul to the second tile of a shelf (vanilla double shelf).
They haul item to lower priority storage first and then place one stack into one tile (the one already has item stored) of the shelf, creating a tile of multiple items, but ingored the other tile completely.
Asep_Hejo Dec 3, 2022 @ 3:07pm 
Lucretia started 10 jobs in 10 ticks. List: (TakeInventory (Job_231565) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231571) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231577) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231582) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231587) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231592) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231597) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231602) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231607) A=Thing_DankPyon_DriedMeat310449) , (TakeInventory (Job_231613) A=Thing_DankPyon_DriedMeat310449) curDriver=JobDriver_WaitMaintainPosture (toilIndex=0) curJob=(Wait_MaintainPosture (Job_231614))
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

this is the error msg i got when my pawn trying to take food to their inventory.
FATEETERNAL Dec 5, 2022 @ 3:20pm 
hey after the update i started getting this errors in game specifically from inter acting on baby pawn when their non existent yet i have the 4 expansion on and here the log;

Jenny threw exception in WorkGiver PlayWithBaby: System.NotImplementedException: No offsets defined for bed of size .


sorry i cant post all the logs theirs more that 1800characters long on so yealet me know if u want me to put on github
[FR] Edrïn Dec 16, 2022 @ 8:07am 
So, it seems anything this mods loads into a pawn's inventory is flagged as such, as the "unload" arrow turns red. That's good.
But then, when they are interrupted from their haul, they don't unload. That's bad. Although "Pick Up And Haul" is worth the annoyance, it would be a relief for everyone if it was fixed. Vanilla behavior is, if a haul is interrupted, just drop it right there.
Also, while vanilla don't do any better, when on a haul and receiving a prioritized job requiring materials while hauling, it would be nice to check what the pawn is holding to see if it's not the needed material and if there is enough for the job instead of dropping it off and fetching some more, or worse in the current version, fetching more while keeping it in the inventory.
I put these and another you might like to fix in the mod 😉 into clearer pictures with a save.
https://mega.nz/file/rgdX1CDD#-dSsaDxcVfn7yXzor2TWnQLANL07Q8I96Z61n4PydeY
Last edited by [FR] Edrïn; Dec 16, 2022 @ 8:08am
Mark McCloud Jan 14, 2023 @ 8:14am 
Originally posted by Master Gauron:
Tried to register the same list of load IDs twice. pathRelToParent=/ThingsHauledToInventory, parent=AFerian1108

While I can't tell you what is causing this, it seems pretty clear that there is some kind of conflict between Pick Up And Haul and the Ferian Race mod. I saw something similar in my own save game after a Ferian joined my colony.

I don't know which of the two mods is at fault here, but I suggest that you ask on the Ferian Race's workshop page if you don't get an answer here.

You could make a testing save file without any loaded mods at all beyond this one, the Ferian Race, and their dependencies. If the error still persists in such a bare-bones environment, then the issue is certainly somewhere between the two.

And be ready to provide a *full* HugsLib log if the mod author asks for it; the stack trace doesn't really give them the full picture of the "environment" in which you are playing. They may need to know things like what other mods are running, their versions, and so on. Only the full HugsLib log can provide that information.

Sometimes issues can be caused by an out of date mod or one that wasn't properly updated by Steam. Steam's update method doesn't always remove all the files of a mod before installing that mod's update. Unsubscribing from mods and then re-subbing can get help as a prophylactic measure against some errors caused by how Steam installs mod updates.
Mark McCloud Jan 15, 2023 @ 5:53am 
Got it to happen again last night. Uploaded the log and kind of forgot about it, but here we are.

I'm hoping its not a load order issue. And if it isn't a PUAH bug, then I'll have to talk to the guy that wrote the Ferian Race mod.

Hugs Log: https://gist.github.com/HugsLibRecordKeeper/b1aa20348b2c8a7cd0e3a7f6aa8941a2
ROZNE GRY Jan 27, 2023 @ 5:28am 
Got this error:

Exception in Verse.AI.ThinkNode_Tagger TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Thing.get_Smeltable ()
at RimWorld.SpecialThingFilterWorker_Smeltable.Matches (Verse.Thing t)
at Verse.ThingFilter.Allows (Verse.Thing t)
at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t)
at RimWorld.Building_Storage.Accepts (Verse.Thing t)
at RimWorld.StoreUtility.IsInValidBestStorage (Verse.Thing t)
at PickUpAndHaul.WorkGiver_HaulToInventory.GoodThingToHaul (Verse.Thing t, Verse.Pawn pawn)
at PickUpAndHaul.WorkGiver_HaulToInventory+<>c__DisplayClass12_0. <JobOnThing>g__Validator|0 (Verse.Thing t)
at PickUpAndHaul.WorkGiver_HaulToInventory.GetClosestAndRemove (Verse.IntVec3 center, Verse.Map map, System.Collections.Generic.List`1[T] searchSet, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator)
at (wrapper dynamic-method) PickUpAndHaul.WorkGiver_HaulToInventory.PickUpAndHaul.WorkGiver_HaulToInventory.JobOnThing_Patch5(PickUpAndHaul.WorkGiver_HaulToInventory,Verse.Pawn,Verse.Thing,bool)
at PickUpAndHaul.HarmonyPatches.HaulToStorageJobByRace (Verse.Pawn p, Verse.Thing t)
at (wrapper dynamic-method) RimWorld.JobGiver_Haul.RimWorld.JobGiver_Haul.TryGiveJob_Patch0(RimWorld.JobGiver_Haul,Verse.Pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams)
at (wrapper dynamic-method) Verse.AI.ThinkNode_Priority.Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch0(Verse.AI.ThinkNode_Priority,Verse.Pawn,Verse.AI.JobIssueParams)

Sorry I can't share the full log file as it's taking forever to do so in game. Yeah, I have a lot of mods installed.

PickUpAndHaul.WorkGiver_HaulToInventory.PickUpAndHaul.WorkGiver_HaulToInventory.JobOnThing_Patch5 was patched by:

RimWorld.JobGiver_Haul.RimWorld.JobGiver_Haul.TryGiveJob_Patch0 was patched by:

Verse.AI.ThinkNode_Priority.Verse.AI.ThinkNode_Priority.TryIssueJobPackage_Patch0 was patched by:
< >
Showing 61-75 of 158 comments
Per page: 1530 50