A GameplayTagQuery in an ActorComponent cannot be properly edited on instances of an actor with said component.
There is a workaround, but the issue makes editing Tag Queries rather annoying, doubly so if they are complex queries.
The workaround is to create the query somewhere else, such as a dummy variable, and copy-paste the result of the query.
For ease of reproducibility, this can be done entirely in BP.
1. Create an Actor Component with a GameplayTagQuery.
2. Create an Actor with the Component
3. Place an instance of the actor in a level
4. Attempt to edit the tag query
5. Add an Any Expression followed up with two Any Tags with any tags
6. The result on the component should be ANY(undefined)
From the licensee:
1. Create a Actor Component Blueprint
2. Add a variable of type Gameplay Tag Query and make it Instance Editable
3. Create a Actor Blueprint
4. Add the Actor Component in it
5. Create an instance of the Actor Blueprint in a scene.
6. Select the actor, then the component
7. Edit the tag query variable
8. Add an "Any Tags Match" as root expression
9. Edit the Tags (add and remove some random tags)
10. Save and reopen the query editor window.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-215632 in the post.
0 |
Component | UE - Gameplay - Gameplay Ability System |
---|---|
Affects Versions | 5.3, 5.4.1 |
Target Fix | 5.6 |
Created | May 23, 2024 |
---|---|
Updated | Sep 30, 2024 |