When inside an array is used a UStruct with a FGameplayTagQuery var that has the EditCondition meta that is evaluating inside the struct.
When a new element is added to the array in the editor, if at the time of constructing the widget the condition is set to false, even if it is changed to true the value of the FGameplayTagQuery cannot be edited because it remains marked as readonly and does not change its state.

Steps to Reproduce

There's a Repro project attached to the case.

  • Create a UStruct with a boolean var to be used as coditional and other var with the class FGameplayTagQuery and use metadata EditCondition to the boolean.
  • Create a var TArray with the new struct.
  • On the editor if you add new element to the array and the conditional is false the readonly never change to edit the FGameplayTagQuery even if the boolean change to true.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.3.2
Target Fix5.5
CreatedApr 8, 2024
UpdatedApr 12, 2024