Description

Similar to Issue 199247 ([Link Removed]), Natively declared Gameplay Tags aren't counted by Reference Viewer when used in a variable set in a C++ ctor.

 

Steps to Reproduce

1 Open Lyra or some other example project
2. Create tag using "UE_DEFINE_GAMEPLAY_TAG_COMMENT" in cpp & "UE_DECLARE_GAMEPLAY_TAG_EXTERN" in header
e.g. TAG_Test_TestTag
3. In constructor set this tag to a variable in a class
e.g. In constructor for "ULyraGameplayAbility_Death" add "ActivationRequiredTags.AddTag(TAG_Test_TestTag);"
4. Open editor & look at a BP based that class
e.g. In Lyra "GA_Hero_Death" & see tag in correct place
5. Right click on tag & "Search For References"
6. Note that there are 0 references
7. Add the tag to any other field in that BP in editor, save
8. Check reference viewer again & now the asset has that there

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay
Affects Versions5.3
Target Fix5.6
CreatedJul 11, 2024
UpdatedSep 30, 2024
View Jira Issue