Burst GCs will destroy the target actor if you attach them to the target (FGameplayCueNotify_PlacementInfo::AttachPolicy) and override the decal fade out (FGameplayCueNotify_DecalInfo::bOverrideFadeOut). FGameplayCueNotify_DecalInfo::SpawnDecal calls UDecalComponent::SetFadeOut on the decal component but dosen't override the default value for the DestroyOwnerAfterFade parameter. As a result, the decal component destroys the target actor. 

Steps to Reproduce
  • Create a burst gameplay cue
  • Set the cue to attach to the target actor (FGameplayCueNotify_PlacementInfo::AttachPolicy)
  • Override the fade out time (FGameplayCueNotify_DecalInfo::bOverrideFadeOut)
  • Note that when the GC is executed that the target actor is destroyed by the spawned decal component. 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-189693 in the post.

Login to Vote

ComponentUE - Gameplay - Gameplay Ability System
Affects Versions5.2
Target Fix5.3
Fix Commit26706150
Main Commit26706966
Release Commit26706160
CreatedJun 27, 2023
ResolvedJul 31, 2023
UpdatedAug 23, 2023
View Jira Issue