UGameplayAbility::ConfirmTaskByInstanceName() has an incorrect code comment that was copied and pasted from UGameplayAbility::CancelAbility(). The comment for UGameplayAbility::ConfirmTaskByInstanceName() should accurately represent what the function does - add a task with the instance name to the list to be confirmed next frame.
Note: This is located in UE4/Plugins/Runtime/GameplayAbilities/Source/GameplayAbiltiies/ Public/Abilities/GameplayAbility.h
Results:
/** Destroys instanced-per-execution abilities. Instance-per-actor abilities should 'reset'. Non instance abilities - what can we do? */
UFUNCTION(BlueprintCallable, Category = Ability)
void ConfirmTaskByInstanceName(FName InstanceName, bool bEndTask);
Expected:
The comment should look something like:
/** Add any task with this instance name to a list to be confirmed next frame. */ UFUNCTION(BlueprintCallable, Category = Ability) void ConfirmTaskByInstanceName(FName InstanceName, bool bEndTask);
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92320 in the post.
1 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.24, 4.25 |
Target Fix | 4.26 |
Created | Apr 22, 2020 |
---|---|
Resolved | Apr 22, 2020 |
Updated | Jun 16, 2020 |