Felt like a proper bug report was in order, so here we are.
Version: Rimworld 0.16.1393
OS: Windows 7 Professional SP1
Active Mods:
Summary: Mending mod is preventing food production objects from completing bills.
Description:
Installed Mending_easymode_0.16.1.0.
Began a fresh colony.
Whenever a colonist attempts to complete a bill on a food production object, the following error log is generated and whatever food item was used or generated by the bill disappears. The Butcher's Table, when the Butcher Creature bill is completed, generates leather/hide/fur, but no meat.
NOTE: There are no unroofed areas within the colony.
Once the initial error occurred, Pawns attempting to perform the Hauling task on food items would become caught in a loop of moving the same items over and over again. This generated the following error log:
When the Mending mod is disabled and the save re-loaded, multiple error logs begin repeatedly occuring:
In an attempt to circumvent potential conflicts with earlier mod versions, the ModsConfig.xml file was deleted and all mods were reloaded fresh. This did not prevent the error from occurring. Disabling Encode's Recycle mod, which has similar functionality to the Mending mod, did not prevent the error from occurring.
NOTE: Upon reproduction of the bug, it seems to only effect production objects that utilize food items, as tailoring, stonecutting, and fabricating prostheses were unaffected and did not generate an error log.
Version: Rimworld 0.16.1393
OS: Windows 7 Professional SP1
Active Mods:
Code Select
Additional Joy Objects
Better Pathfinding
Fluffy's Blueprints
Fluffy's Colony Manager
Deep Core Miner
Deep Core Miner Stone Addon
EDB's Prepare Carefully
Expanded Prosthetics and Organ Engineering
FashionRIMsta
Floor Lights
Hug's Library
Hospitality
Koisama's Numbers
Mad Skills Tiered
Mending
Haplo's Miscellaneous Training
Quality Builder
Encode's Recycle
Rimsenal
Rimsenal Hair
Stack XXL
Tilled Soil
Vein Miner
Summary: Mending mod is preventing food production objects from completing bills.
Description:
Installed Mending_easymode_0.16.1.0.
Began a fresh colony.
Whenever a colonist attempts to complete a bill on a food production object, the following error log is generated and whatever food item was used or generated by the bill disappears. The Butcher's Table, when the Butcher Creature bill is completed, generates leather/hide/fur, but no meat.
Code Select
JobDriver threw exception in initAction. Pawn=Princess, Job=DoBill A=Thing_TableButcher76078 B=Thing_Turkey_Corpse77893 C=(138, 0, 111), Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Mending.SpecialThingFilterWorker_Unroofed.Matches (Verse.Thing t) [0x00000] in <filename unknown>:0
at Verse.ThingFilter.Allows (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, Boolean needAccurateResult) [0x00000] in <filename unknown>:0
at Verse.AI.Toils_Recipe+<FinishRecipeAndStartStoringProduct>c__AnonStorey418.<>m__674 () [0x00000] in <filename unknown>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.<DoRecipeWork>c__AnonStorey417:<>m__66F()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()
NOTE: There are no unroofed areas within the colony.
Once the initial error occurred, Pawns attempting to perform the Hauling task on food items would become caught in a loop of moving the same items over and over again. This generated the following error log:
Code Select
Exception in Tick (pawn=Ray, job=HaulToCell A=Thing_RawBerries82803 B=(135, 0, 112), CurToil=5): System.NullReferenceException: Object reference not set to an instance of an object
at Mending.SpecialThingFilterWorker_Unroofed.Matches (Verse.Thing t) [0x00000] in <filename unknown>:0
at Verse.ThingFilter.Allows (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StoreUtility.IsValidStorageFor (IntVec3 c, Verse.Map map, Verse.Thing storable) [0x00000] in <filename unknown>:0
at Verse.AI.Toils_Haul+<CarryHauledThingToCell>c__AnonStorey41E.<>m__67F () [0x00000] in <filename unknown>:0
at Verse.AI.Toil+<AddFailCondition>c__AnonStorey42A.<>m__68F () [0x00000] in <filename unknown>:0
at Verse.AI.JobDriver.CheckCurrentToilEndOrFail () [0x00000] in <filename unknown>:0
at Verse.AI.JobDriver.DriverTick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()
When the Mending mod is disabled and the save re-loaded, multiple error logs begin repeatedly occuring:
Code Select
Object reference not set to an instance of an object
at Verse.ThingFilter.Allows (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, Boolean needAccurateResult) [0x00000] in <filename unknown>:0
at RimWorld.StoreUtility.IsInValidBestStorage (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.ListerHaulables.ShouldBeHaulable (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.ListerHaulables.Check (Verse.Thing t) [0x00000] in <filename unknown>:0
at RimWorld.ListerHaulables.ListerHaulablesTick () [0x00000] in <filename unknown>:0
at Verse.Map.MapPreTick () [0x00000] in <filename unknown>:0
at Verse.TickManager.DoSingleTick () [0x00000] in <filename unknown>:0
at Verse.TickManager.TickManagerUpdate () [0x00000] in <filename unknown>:0
at Verse.Game.Update () [0x00000] in <filename unknown>:0
at Verse.Root_Play.Update () [0x00000] in <filename unknown>:0
In an attempt to circumvent potential conflicts with earlier mod versions, the ModsConfig.xml file was deleted and all mods were reloaded fresh. This did not prevent the error from occurring. Disabling Encode's Recycle mod, which has similar functionality to the Mending mod, did not prevent the error from occurring.
NOTE: Upon reproduction of the bug, it seems to only effect production objects that utilize food items, as tailoring, stonecutting, and fabricating prostheses were unaffected and did not generate an error log.