AndroidQuazar / VanillaExpandedFramework

Vanilla Expanded Framework for RimWorld
Other
36 stars 18 forks source link

MCVF causing crashes with hunting jobs? #61

Closed II-ELIF-II closed 1 year ago

II-ELIF-II commented 1 year ago

Causes the game to crash when hunting.

Exception in RimWorld.ThinkNode_ConditionalCanDoConstantThinkTreeJobNow TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object at MVCF.VerbManager.b__14_0 (MVCF.ManagedVerb v) [0x00000] in :0 at System.Linq.Enumerable+WhereListIterator1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at MVCF.Utilities.TargetFinder.BestAttackTarget (Verse.AI.IAttackTargetSearcher searcher, Verse.Verb& verbUsed, Verse.AI.TargetScanFlags flags, System.Predicate1[T] validator, System.Single minDist, System.Single maxDist, Verse.IntVec3 locus, System.Single maxTravelRadiusFromLocus, System.Boolean canBashDoors, System.Boolean canTakeTargetsCloserThanEffectiveMinRange, System.Boolean canBashFences, System.Boolean setCurrent, System.Boolean canMove) [0x0012f] in :0 at (wrapper dynamic-method) RimWorld.JobGiver_ConfigurableHostilityResponse.RimWorld.JobGiver_ConfigurableHostilityResponse.TryGetAttackNearbyEnemyJob_Patch0(RimWorld.JobGiver_ConfigurableHostilityResponse,Verse.Pawn) at RimWorld.JobGiver_ConfigurableHostilityResponse.TryGiveJob (Verse.Pawn pawn) [0x00043] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Player.txt