2 issues with SGameplayTagQueryEntryBox that a UDN customer noticed:

  1. We are binding a delegate to UGameplayTagsManager::OnGetCategoriesMetaFromPropertyHandle to customize how the categories are retrieved from meta properties, but we stumbled upon what seems to be an issue:

In SGameplayTagQueryEntryBox::OnEditButtonClicked, line 207 if the PropertyHandle for the FGameplayTagQuery is valid, the following call is made:

Args.Filter = UGameplayTagsManager::StaticGetCategoriesMetaFromPropertyHandle(PropertyHandle);

Which ignores UGameplayTagsManager::OnGetCategoriesMetaFromPropertyHandle, while in SGameplayTagQueryEntryBox::Construct line 57 the filter is correctly retrieved.

2. Also, it seems SGameplayTagQueryWidget::Construct is missing assignment of Filter:

SGameplayTagQueryEntryBox is actually missing Filter = InArgs._Filter; in SGameplayTagQueryEntryBox::Construct, but also a condition around Args.Filter = UGameplayTagsManager::StaticGetCategoriesMetaFromPropertyHandle(PropertyHandle); in SGameplayTagQueryEntryBox::OnEditButtonClicked() (line 207).


Steps to Reproduce

Bind a custom delegate to UGameplayTagsManager::OnGetCategoriesMetaFromPropertyHandle
Notice that SGameplayTagQueryEntryBox::OnEditButtonClicked ignores UGameplayTagsManager::OnGetCategoriesMetaFromPropertyHandle

Have Comments or More Details?

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

Login to Vote

ComponentUE - AI
Affects Versions5.4
Target Fix5.4
Fix Commit30967654
Main Commit30967681
Release Commit31000152
CreatedJan 9, 2024
ResolvedJan 29, 2024
UpdatedMar 25, 2024
View Jira Issue