tranek / GASShooter

Advanced FPS/TPS Sample Project for Unreal Engine 4's GameplayAbilitySystem plugin
MIT License
953 stars 265 forks source link

[ UE5.1 ] GSAT_WaitTargetDataUsingActor - condition failed #39

Open oivio opened 1 year ago

oivio commented 1 year ago

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]

sinanata commented 1 year ago

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

sinanata commented 1 year ago

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