Description

If you have a Gameplay Effect that uses an Attribute Modifiers, and this modifier has Target Tags specified, the modifier is applied unexpectedly:

  • Adding a Required tag on the Target, the modifier does not take effect even if the Target has the tag
  • Adding an Ignore tag on the Target, the modifier always takes effect even if the Target doesn't have the tag
Steps to Reproduce

The way I did this was just to (in Lyra) create a GE that is set to Instant, then go to the Attribute Modifiers and do Healing to -5.  Execute it with the AbilitySystem.Effect.Apply -Server command (it may say it's not executed properly – thats a diff bug, but it will actually execute).

 

See if your health goes down.  If it does, it's working.

So now you have to modify that GE again and change the "MustHave" tags or "MustNotHave" tags on the modifier, and see if it also executes/doesn't execute as expected.

Using the new Gameplay Debugger GAS functionality will help (it's the apostrophe / ' key).

Have Comments or More Details?

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

18
Login to Vote

Fixed
ComponentUE - Gameplay - Gameplay Ability System
Affects Versions4.275.0
Target Fix5.4
Fix Commit30823101
Main Commit30823117
CreatedMar 9, 2022
ResolvedJan 29, 2024
UpdatedMar 29, 2024
View Jira Issue