RimWorld

RimWorld

Vanilla Furniture Expanded - Security
DragonKing Jun 29, 2021 @ 11:16am
VFESecurity.TrenchUtility.AdjustedRangeFromTerrain log error spam
I get the following error spam related to what I assume is trenches, I have no trenches on my home area, and no other areas are loaded.

System.NullReferenceException: Object reference not set to an instance of an object
at VFESecurity.TrenchUtility.AdjustedRangeFromTerrain (System.Single range, Verse.IntVec3 pos, Verse.Map map) [0x00003] in <888b4150108d4a47b500bc7452b16ebd>:0
at VFESecurity.TrenchUtility.FinalAdjustedRangeFromTerrain (System.Single range, System.Single minRange, Verse.IntVec3 pos, Verse.Map map) [0x00001] in <888b4150108d4a47b500bc7452b16ebd>:0
at VFESecurity.TrenchUtility.FinalAdjustedRangeFromTerrain (System.Single range, Verse.Verb verb, Verse.Thing thing) [0x00019] in <888b4150108d4a47b500bc7452b16ebd>:0
at VFESecurity.Patch_AttackTargetFinder+BestShootTargetFromCurrentPosition.AdjustedRange (System.Single original, Verse.Verb verb, Verse.AI.IAttackTargetSearcher searcher) [0x00009] in <888b4150108d4a47b500bc7452b16ebd>:0
at (wrapper dynamic-method) Verse.AI.AttackTargetFinder.Verse.AI.AttackTargetFinder.BestShootTargetFromCurrentPosition_Patch0(Verse.AI.IAttackTargetSearcher,Verse.AI.TargetScanFlags,System.Predicate`1<Verse.Thing>,single,single)
at MVCF.TurretVerb.TryFindNewTarget () [0x0000c] in <ccbadbea86d14ce3af522951ebef9114>:0
at MVCF.TurretVerb.Tick () [0x0011b] in <ccbadbea86d14ce3af522951ebef9114>:0
at MVCF.VerbManager.Tick () [0x00018] in <ccbadbea86d14ce3af522951ebef9114>:0
at MVCF.WorldComponent_MVCF.WorldComponentTick () [0x0002b] in <ccbadbea86d14ce3af522951ebef9114>:0
at RimWorld.Planet.WorldComponentUtility.WorldComponentTick (RimWorld.Planet.World world) [0x00013] in <7927e938de4c4089b4add4215e58d5b1>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
RimWorld.Planet.WorldComponentUtility:WorldComponentTick(World)
RimWorld.Planet.World:WorldTick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4(TickManager)
Verse.TickManager:Verse.TickManager.TickManagerUpdate_Patch1(TickManager)
Verse.Game:Verse.Game.UpdatePlay_Patch3(Game)
Verse.Root_Play:Verse.Root_Play.Update_Patch0(Root_Play)
< >
Showing 1-4 of 4 comments
Henrikki Aug 3, 2021 @ 5:36am 
Got the same exact thing, right at the start of a new colony
Kal Aug 9, 2021 @ 9:58pm 
I just got hit with this as well, probably a mod conflict or something
Fried Cookie789 Aug 10, 2021 @ 1:46am 
I'm also being affected by this, with no trenches in my 5 year colony. As far as I understand, this mod hasn't updated, so I'd wager Kal's right on it being some other mod conflicting.

(For reference, the save was working; 3-4 hours later I relaunched the game and the error started to pop up.)
Last edited by Fried Cookie789; Aug 10, 2021 @ 1:58am
eldiabs Aug 25, 2021 @ 10:49am 
Same issue. I just removed the TrenchUtility file from the mod for the time being and no more error. I don't even use trenches so who knows why that error was spamming the log...
< >
Showing 1-4 of 4 comments
Per page: 1530 50