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);
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
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 |