My issue has been solved by doing the following steps. For clarity purposes, I will keep naming the plugin MyPlugin. Replace every occurency of MyPlugin by your actual plugin name to make it work on your side.
Adding “GameplayTags” to the PublicDependencyModuleNames in MyPlugin/Source/MyPlugin/MyPlugin.Build.cs
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"GameplayTags"
// ... add other public dependencies that you statically link with here ...
}
);
Editing the FMyPluginModule::StartupModule() function in MyPlugin/Source/Myplugin/Private/Myplugin.cpp