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.