RimWorld

RimWorld

Combat Extended [1.4]
Ivoo13 8 Aug, 2021 @ 5:39am
Ferian Race pawns not shooting in 4.1
Looks like some of the changes broke the Ferian pawns in the latest update. Pawns of other races seem to work fine. When I reverted to CE 4.0 version from GitHub everything works too, so the problem is only in 4.1

When I force the pawn to shoot at anything, following error is thrown and the pawn doesn't aim nor shoot:

Exception in JobDriver tick for pawn Luna driver=JobDriver_AttackStatic (toilIndex=1) driver.job=(AttackStatic (Job_547871) A=Thing_Wall42909) System.NullReferenceException: Object reference not set to an instance of an object at CombatExtended.HarmonyCE.Harmony_Verb_TryStartCastOn.CheckReload (Verse.Verb __instance, Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg) [0x00035] in <ccb6738ca9da4e0ba4122c09aec10cab>:0 at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryStartCastOn_Patch0(Verse.Verb,Verse.LocalTargetInfo,Verse.LocalTargetInfo,bool,bool,bool) at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire) [0x00007] in <1b9c4c73530448bcbb33283e1d4d7d05>:0 at Verse.Pawn.TryStartAttack (Verse.LocalTargetInfo targ) [0x00038] in <1b9c4c73530448bcbb33283e1d4d7d05>:0 at Verse.AI.JobDriver_AttackStatic+<>c__DisplayClass4_0.<MakeNewToils>b__1 () [0x000f1] in <1b9c4c73530448bcbb33283e1d4d7d05>:0 at Verse.AI.JobDriver.DriverTick () [0x001a1] in <1b9c4c73530448bcbb33283e1d4d7d05>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) Verse.AI.JobDriver:DriverTick () Verse.AI.Pawn_JobTracker:JobTrackerTick () (wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn) Verse.TickList:Tick () (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game) Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
Arcticwolf2425 11 Aug, 2021 @ 10:13am 
I think the update for replanting trees broke it for most race mods like the ferians.
Ivoo13 14 Aug, 2021 @ 2:49am 
I've ran into that issue a few days before replanting trees update (I was offline for a week, so it just got installed today). I can still reproduce the problem when I switch to CE 4.1.
< >
Showing 1-2 of 2 comments
Per page: 1530 50