CAI-5000
CAI-5000 copied to clipboard
Log gets spamming will null reference in SightGrid during battle
Bunch of errors similar to this one. No noticeable problem with the behavior of the pawns, just a bunch of log spam
ISMA: base error System.NullReferenceException: Object reference not set to an instance of an object
at CombatAI.Comps.ThingComp_CombatAI.OnScanFinished () [0x00e50] in <380d0347a1e04937be5a70d7849e9b82>:0
at CombatAI.SightGrid+<>c__DisplayClass53_0.<TryCastSight>b__3 () [0x0017a] in <380d0347a1e04937be5a70d7849e9b82>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
CombatAI.ExceptionUtility:ShowExceptionGui (System.Exception,bool)
CombatAI.SightGrid/<>c__DisplayClass53_0:<TryCastSight>b__3 ()
CombatAI.AsyncActions:MainThreadActionLoop ()
CombatAI.AsyncActions:ExecuteMainThreadActions ()
CombatAI.SightGrid:SightGridUpdate ()
CombatAI.SightTracker:MapComponentUpdate ()
Verse.MapComponentUtility:MapComponentUpdate (Verse.Map)
Verse.Map:MapUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()