Gameplay Effect not granting tags

I’m using Gameplay Effects from the Gameplay Ability System and for whatever reason they’re not granting tags to the actor’s Ability System Component.

Essentially, my ability is a super jump that, once activated, applies this Gameplay Effect with the tag “Combat.State.InAir”. The ability should not be able to be re-used until that tag is no longer on the user. However, the gameplay effect does not grant the tag.

My Gameplay Effect:

The Gameplay Ability (where it activates)

The character activating the ability (Sorry for the mess, a bit of debugging going on)

The “Still no tag!” print statement fires off every time I use the ability.

1 Like

Not sure if I’m allowed to bump this, but I’d really like to get some answers on this if possible!

I solved my own issue. The Gameplay Effect needed to be set to “Infinite” and not “Instant”

5 Likes

I think that option is removed from the Gameplay Effects. Any suggested workarounds?

Hmm unfortunately, I haven’t used UE5’s version of the Gameplay Ability System! :frowning:

I can see it looks like the Duration Policy is still there.

Opening a quick, empty project in UE5: It appears that UE5 may have changed it to where you need to add “Components” in order to grant tags.

If you click the “+” next to the “Components” variable, you can then select a component type.

Select “Grant Tags to Target Actor”

From there, you can then assign what tags you want to give to the actor affected by this GameplayEffect by clicking on the box next to “Add to Inherited.”

Hope that helps!

1 Like

Its a while since but for anyone stumbling on this problem. They moved it into components like in this picture