RimWorld

RimWorld

Allow Tool
ROZNE GRY 27 Jan, 2023 @ 5:03am
Got this error. A conflict between this mod and DS?
System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.GetFoodKindForStacking_Patch0(Verse.Thing)
at (wrapper dynamic-method) RimWorld.CompIngredients.RimWorld.CompIngredients.AllowStackWith_Patch0(RimWorld.CompIngredients,Verse.Thing)
at Verse.ThingWithComps.CanStackWith (Verse.Thing other)
at Verse.GenPlace.TryPlaceDirect (Verse.Thing thing, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction)
at Verse.GenPlace.TryPlaceThing (Verse.Thing thing, Verse.IntVec3 center, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, Verse.Rot4 rot)
at (wrapper dynamic-method) Verse.GenDrop.Verse.GenDrop.TryDropSpawn_Patch1(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,bool)
at Verse.ThingOwner.TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, System.Boolean playDropSound)
at Verse.ThingOwner`1[T].TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, T& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator)
at (wrapper dynamic-method) Verse.Pawn_CarryTracker.Verse.Pawn_CarryTracker.TryDropCarriedThing_Patch1(Verse.Pawn_CarryTracker,Verse.IntVec3,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>)
at Verse.AI.Toils_Haul+<>c__DisplayClass6_0. <PlaceHauledThingInCell>b__0 ()
at AllowTool.Patches.ToilsHaul_PlaceInCell_Patch+<>c__DisplayClass0_0. <ClearHaulUrgently>b__0 ()
at LWM.DeepStorage.Patch_PlaceHauledThingInCell_Toil+<>c__DisplayClass0_0. <Postfix>b__1 ()
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)



RimWorld.FoodUtility.RimWorld.FoodUtility.GetFoodKindForStacking_Patch0 was patched by:

RimWorld.CompIngredients.RimWorld.CompIngredients.AllowStackWith_Patch0 was patched by:

Verse.GenDrop.Verse.GenDrop.TryDropSpawn_Patch1 was patched by:

Verse.Pawn_CarryTracker.Verse.Pawn_CarryTracker.TryDropCarriedThing_Patch1 was patched by:

AllowTool.Patches.ToilsHaul_PlaceInCell_Patch was patched by:

Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0 was patched by:
< >
Showing 1-1 of 1 comments
Monkey Magic 7 Aug, 2023 @ 1:00am 
Got a similar error, I'm not sure what is triggering it, but it might be Thanks for all the Fish[/i] Spoilered it out since it's an ugly wall of text, and an ugly wall of black is slightly less unsettling. In any case, it does not appear to be causing issues, since this only pops up when in Dev mode

System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GridsUtility.Fogged (Verse.IntVec3 c, Verse.Map map) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at AllowTool.Designator_HaulUrgently.ThingIsRelevant (Verse.Thing thing) [0x00015] in <d3e3fec3eced4dceb8190139680bcabd>:0
at AllowTool.Designator_HaulUrgently.CanDesignateThing (Verse.Thing t) [0x00001] in <d3e3fec3eced4dceb8190139680bcabd>:0
at (wrapper dynamic-method) Verse.Designator.Verse.Designator.CreateReverseDesignationGizmo_Patch1(Verse.Designator,Verse.Thing)
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)
< >
Showing 1-1 of 1 comments
Per page: 1530 50