The gameplay cue may work fine the first time. If this is the case, then relaunch the
editor. It should then be broken, as the tag is no longer loaded after its creation.
● Create a new 5.3 project
● Create a game feature module
● Add one or more gameplay tags in the new game feature module
● Create a gameplay cue with the new gameplay tag to trigger it, and create a gameplay effect to apply the cue
● Add a line to the ini file like the following: +GameplayCueNotifyPaths="/GameFeatureModule"
● Note how the above line does not cause the gameplay tag to be loaded
● Instead, use the following logic at an appropriate place to load the tag: UAbilitySystemGlobals::Get().GetGameplayCueManager()->AddGameplayCueNotifyPath(TEXT("/GameFeatureModule"));
● Note how this does work, which seems like inconsistent behavior
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-201740 in the post.
0 |
Component | UE - Gameplay - Gameplay Ability System |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.6 |
Created | Dec 4, 2023 |
---|---|
Updated | Sep 30, 2024 |