How can I fix an error with #include AbilitySystemInterface from GameplayAbilities?

Thanks for the reply Steve. So far these are everything that I’ve done:

In MyGame.Build.cs, changed

 PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay"});

to

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "GameplayAbilities" });

In MyGameCharacter.h, changed

#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "RolePlayingGameCharacter.generated.h"

to

#include "CoreMinimal.h" #include "GameFramework/Character.h"
#include "AbilitySystemInterface.h"
#include "RolePlayingGameCharacter.generated.h"

The error that I’m getting says “cannot open source file “AbilitySystemInterace.h””. So it seems like it can’t find the file. I can’t include any other files from the GameplayAbilities plugin, either, without seeing the same error.

edit: Sorry about the formatting of this comment… It got weird with the code snippets.