GameplayCue (from Abilities module) not working when in packaged file

Title pretty much says it all. I went to package my game to test it with some friends online, but the whole “Gameplay Cue” component of the “Gameplay Abilities” system wasn’t working at all. There are no warnings/errors or anything in the logs about this issue. Any ideas?

More Info Edit: My cues are BPs which inherit from the GameplayCue Static object. The GameplayCue Editor finds them when I open the window, and I have BP code written inside of the “OnExecute” function. That code is run for all of my effects inside of the engine, be it PIE, separate window, or even it’s own process. I call for the effects to be applied within the gameplay effect as a “display” variable and let the system/engine handle all of that. My cues are all named something like “GameplayCue.Y.Z” as suggested by the window itself.

My cues themselves are set in a directory like Blueprints/Abilities/Class/Ability, and inside of my DefaultGame.ini I have written this line:
[/Script/GameplayAbilities.AbilitySystemGlobals]
+GameplayCueNotifyPaths=“/Game/Blueprints”

I am packaging through File → Package project, for Windows 64bit.

I think this has to be an error with the engine, behind the scenes code, or packaging itself, because really my GC’s are working flawlessly in all other parts of the engine (so it can’t be my setup).

Update: This is using 4.16.2 from the launcher, not from source. When attempting to hot reload or recompile modules I get an error about an invalid makefile. I tried building from source but have run out of time for now with all of the fetching and recompiling. So far I am unable to confirm if anyone else has GCs working in a packaged project.

1 Like

SOLVED.

Needed to go into package settings and add my gameplay cue folder to “Additional Asset Directories to Cook.”

7 Likes

Thanks,it’s true way to fix my problem

1 Like

Thanks, fixed it for me on UE5.