Called TargetsHostileToFaction with null faction.

Started by CacahuateMaster, March 01, 2024, 06:26:18 PM

Previous topic - Next topic

CacahuateMaster

New to this stuff.
I'm getting this error ( title) continuously. I don't know why. I got a raid from elementals (Rimworld of Magic) and it started to spam on my log.

This is the full error

Called TargetsHostileToFaction with null faction.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.AI.AttackTargetsCache:TargetsHostileToFaction (RimWorld.Faction)
(wrapper dynamic-method) RimWorld.GenHostility:RimWorld.GenHostility.AnyHostileActiveThreatTo_Patch0 (Verse.Map,RimWorld.Faction,Verse.AI.IAttackTarget&,bool,bool)
RimWorld.GenHostility:AnyHostileActiveThreatTo (Verse.Map,RimWorld.Faction,bool,bool)
VFECore.CompShieldField:UpdateCache ()
VFECore.CompShieldField:CompTick ()
Verse.ThingWithComps:Tick ()
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

mactravian

Is not only a Rimworld of magic bug, is happened to me. I only get raid by two vanilla faction and one form Archon (Vanilla Races Expanded - Archon). I have try to recreate it with dev mode on other save, without success.