tranek/GASShooter

[ UE5.1 ] GSAT_WaitTargetDataUsingActor - condition failed

oivio opened this issue · 3 comments

oivio commented

Getting an error condition soon as I start the game:

c Ensure condition failed: !IsValid(this) [File:G:\GitHub\GASShooter\Source\GASShooter\Private\Characters\Abilities\AbilityTasks\GSAT_WaitTargetDataUsingActor.cpp] [Line: 208]

FWIW, replacing exception handling if block on line 209 with this solved the problem for me.

if (!ensure(IsPendingKill() == false)) { return; }

https://github.com/tranek/GASShooter/blob/master/Source/GASShooter/Private/Characters/Abilities/AbilityTasks/GSAT_WaitTargetDataUsingActor.cpp

Forget about this, it lead to packaging errors with Dedicated server setup.

Fix for the issue: #46