How can I fix an error with #include AbilitySystemInterface from GameplayAbilities?
I wanted to check out the Gameplay Abilities plugin in the engine, but I can't get past the first couple of steps from the wiki guide (Setting up the Project, Setting up our Character): https://wiki.unrealengine.com/GameplayAbilities_and_You
I can't get it to compile when I include the AbilitySystemInterface in anything: #include "AbilitySystemInterface.h"
Everything after that depends on that inclusion. Does anyone know what I might be doing wrong? I have added the plugin to my project, restarted my project, and added the module name to PublicDependecyModuleNames in my build.cs file. I can see the choice to create a new blueprint from the GameplayAbility class and the option to open the GameplayCue window., and I can also see the plugin files in my solution explorer, so I know the plugin is there.
I was able to resolve the issue by generating Visual Studio project files. I'm not sure why there would be a compiling issue if that's all it took to fix things, but so it goes. Thanks to Kazuja on the reddit post for running through his steps with me: https://www.reddit.com/r/unrealengine/comments/77cmmc/looking_for_help_with_understanding/
Also thanks Steve for starting to assist me here.
To resolve the issue, I opened the project folder within my UnrealProjects directory, rick-clicked on the .uproject, and clicked on "Generate Visual Studio project files". After reopening my project in the editor and the solution in VS2017, the problem was fixed.
answered Oct 19 '17 at 02:24 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here