RimWorld

RimWorld

Dragonian Primus
Eggbed  [developer] Oct 25, 2022 @ 9:09am
Bug Reports (Vanilla/ Official DLC Issues)
< >
Showing 1-2 of 2 comments
Volke Aug 13, 2023 @ 10:18am 
Got an issue with the EVA armor and helmet, they are losing their toggles when I reload a game. When trying to remove the gear to see if that would reapply them, I get the following error and the gear disappears.

This is on a test colony with only this mod and its requirements.

JobDriver threw exception in toil Do's initAction for pawn Snick driver=JobDriver_RemoveApparel (toilIndex=1) driver.job=(RemoveApparel (Job_1152) A=Thing_DR_EVA_Helmet_DP2Unofficial10992)
System.NullReferenceException: Object reference not set to an instance of an object
at DP2Unofficial.ThingComp_PsychicBooster.Notify_Unequipped (Verse.Pawn pawn) [0x00009] in <98fad69063bc4697af4a75806a3b8de6>:0
at Verse.ThingWithComps.Notify_Unequipped (Verse.Pawn pawn) [0x0001f] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.Notify_ApparelRemoved (RimWorld.Apparel apparel) [0x00073] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.ThingOwner.NotifyRemoved (Verse.Thing item) [0x00025] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.ThingOwner`1[T].Remove (Verse.Thing item) [0x00039] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenSpawn.Spawn (Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode, System.Boolean respawningAfterLoad) [0x00237] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenPlace.SplitAndSpawnOneStackOnCell (Verse.Thing thing, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00029] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00129] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00068] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenDrop.TryDropSpawn (Verse.Thing thing, Verse.IntVec3 dropCell, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, System.Boolean playDropSound) [0x000a2] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00034] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00025] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.TryDrop (RimWorld.Apparel ap, RimWorld.Apparel& resultingAp, Verse.IntVec3 pos, System.Boolean forbid) [0x00013] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.TryDrop (RimWorld.Apparel ap, RimWorld.Apparel& resultingAp) [0x0000e] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.JobDriver_RemoveApparel.<MakeNewToils>b__7_0 () [0x00031] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Eggbed  [developer] Aug 13, 2023 @ 5:32pm 
Originally posted by Volke:
Got an issue with the EVA armor and helmet, they are losing their toggles when I reload a game. When trying to remove the gear to see if that would reapply them, I get the following error and the gear disappears.

This is on a test colony with only this mod and its requirements.

JobDriver threw exception in toil Do's initAction for pawn Snick driver=JobDriver_RemoveApparel (toilIndex=1) driver.job=(RemoveApparel (Job_1152) A=Thing_DR_EVA_Helmet_DP2Unofficial10992)
System.NullReferenceException: Object reference not set to an instance of an object
at DP2Unofficial.ThingComp_PsychicBooster.Notify_Unequipped (Verse.Pawn pawn) [0x00009] in <98fad69063bc4697af4a75806a3b8de6>:0
at Verse.ThingWithComps.Notify_Unequipped (Verse.Pawn pawn) [0x0001f] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.Notify_ApparelRemoved (RimWorld.Apparel apparel) [0x00073] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.ThingOwner.NotifyRemoved (Verse.Thing item) [0x00025] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.ThingOwner`1[T].Remove (Verse.Thing item) [0x00039] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenSpawn.Spawn (Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode, System.Boolean respawningAfterLoad) [0x00237] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenPlace.SplitAndSpawnOneStackOnCell (Verse.Thing thing, Verse.IntVec3 loc, Verse.Rot4 rot, Verse.Map map, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00029] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00129] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00068] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenDrop.TryDropSpawn (Verse.Thing thing, Verse.IntVec3 dropCell, Verse.Map map, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator, System.Boolean playDropSound) [0x000a2] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00034] in <95de19971c5d40878d8742747904cdcd>:0
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) [0x00025] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.TryDrop (RimWorld.Apparel ap, RimWorld.Apparel& resultingAp, Verse.IntVec3 pos, System.Boolean forbid) [0x00013] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Pawn_ApparelTracker.TryDrop (RimWorld.Apparel ap, RimWorld.Apparel& resultingAp) [0x0000e] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.JobDriver_RemoveApparel.<MakeNewToils>b__7_0 () [0x00031] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

Thank you for your report. I included the fix in the latest update.
< >
Showing 1-2 of 2 comments
Per page: 1530 50