RimWorld

RimWorld

Bees
Bug Reports
Good afternoon.

If you are experiencing bugs (and not the good kind), report them here.


-TURTLESHROOM
< >
Showing 1-6 of 6 comments
TurtleShroom 7 Jan, 2024 @ 9:50am 
CyberFrogHostile903797 threw exception in WorkGiver Bees_TakeHoneyOutOfBeehive: System.NullReferenceException: Object reference not set to an instance of an object at Bees.Workgiver_TakeHoneyOutOfBeehive.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00007] in <ef6d81000e2d4784975af19ef6f5ec84>:0 at RimWorld.JobGiver_Work+<>c__DisplayClass3_1.<TryIssueJobPackage>b__0 (Verse.Thing t) [0x00013] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.GenClosest+<>c__DisplayClass2_0.<ClosestThingReachable>b__0 (Verse.Thing t) [0x00034] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.GenClosest.<ClosestThing_Global>g__Process|5_0 (Verse.Thing t, Verse.GenClosest+<>c__DisplayClass5_0& ) [0x00047] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter) [0x0005d] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x0014c] in <cd7169108ea74757aa50c5b33d275c15>:0 at (wrapper dynamic-method) RimWorld.JobGiver_Work.RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1(RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string) (wrapper dynamic-method) RimWorld.JobGiver_Work:RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1 (RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&) Verse.AI.Pawn_JobTracker:TryFindAndStartJob () (wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch3 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool) (wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker) (wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch3 (Verse.Pawn) (wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList) (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game) Verse.Root_Play:Update ()

I have a Mod that adds custom Mechanoids. One of the tasks the Mechanoid can do is remove Honey from this Mod's Beehive.

The problem is that when a Mechanoid tries to do it, the game spits out this error constantly. When a normal Pawn does it, however, nothing goes wrong.

What am I doing wrong?
Adamas  [developer] 9 Jan, 2024 @ 11:28am 
Thanks for the report. You are probably not doing anything wrong. Most likely a mechanoid is missing something that I did not anticipate.
TurtleShroom 18 Apr, 2024 @ 2:09pm 
Originally posted by Adamas:
Thanks for the report. You are probably not doing anything wrong. Most likely a mechanoid is missing something that I did not anticipate.

I see this same error with the maintaining of the Beehive.
JobDriver threw exception in toil MakeNewToils's initAction for pawn Pomp driver=JobDriver_TendToBeehive (toilIndex=2) driver.job=(Bees_TendToBeehive (Job_27076224) A = Thing_Bees_Beehive1111284 Giver = ThinkNode_QueuedJob [workGiverDef: Bees_TendToBeehive]) System.MissingMethodException: void Verse.DamageInfo..ctor(Verse.DamageDef,single,single,single,Verse.Thing,Verse.BodyPartRecord,Verse.ThingDef,Verse.DamageInfo/SourceCategory,Verse.Thing,bool,bool,RimWorld.QualityCategory,bool,bool) [Ref 3D4678B1] at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <630e2863bc9a4a3493f2eff01e3a9556>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) Verse.AI.JobDriver:TryActuallyStartNextToil () Verse.AI.JobDriver:ReadyForNextToil () Bees.JobDriver_TendToBeehive/<>c__DisplayClass5_0:<MakeNewToils>b__1 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver) Verse.AI.Pawn_JobTracker:JobTrackerTick () Verse.Pawn:Tick () Verse.TickList:Tick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () Verse.Game:UpdatePlay () Verse.Root_Play:Update ()

In RW V1.5, I continue to get this error for reasons I cannot explain. To reproduce it, I have a character right click and manually try to extract honey from one of your Mod's beehives. Though I have a Mod that adds a C-Sharp patch that allows for Mechanoids to do it, I know that is NOT the cause, and I know this because it happens with normal Pawns as well. They also cannot tend to the beehive to make it healthy again.
JobDriver threw exception in toil MakeNewToils's initAction for pawn Basil driver=JobDriver_TakeHoneyOutOfBeehive (toilIndex=2) driver.job=(Bees_TakeHoneyOutOfBeehive (Job_7101810) A = Thing_Bees_Beehive1482811 Giver = ThinkNode_QueuedJob [workGiverDef: Bees_TakeHoneyOutOfBeehive]) System.MissingMethodException: Method not found: bool Verse.GenPlace.TryPlaceThing(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,Verse.Rot4) [Ref BC8751D] at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <7a4ff24096e646578ec80b030e4544b3>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) Verse.AI.JobDriver:TryActuallyStartNextToil () Verse.AI.JobDriver:ReadyForNextToil () Bees.JobDriver_TakeHoneyOutOfBeehive/<>c__DisplayClass10_0:<MakeNewToils>b__1 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver) Verse.AI.Pawn_JobTracker:JobTrackerTick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn) Verse.Thing:DoTick () Verse.TickList:Tick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch1 (Verse.TickManager) Verse.Game:UpdatePlay () Verse.Root_Play:Update ()

seem to be getting this error when i try to take honey out of a beehive on 1.6. posted in your Discord, posting here for posterity i guess
Adamas  [developer] 7 Jul @ 12:16pm 
thx, should be fixed
< >
Showing 1-6 of 6 comments
Per page: 1530 50