# Gameplay Tags from custom plugin not loading

**URL:** <https://forums.unrealengine.com/t/gameplay-tags-from-custom-plugin-not-loading/1772198>\
**Category:** Pipeline & Plugins\
**Tags:** tags, unreal-engine, Gameplay-Ability-System, Plugins, question\
**Created:** [March 25, 2024, 10:46pm UTC](https://forums.unrealengine.com/t/gameplay-tags-from-custom-plugin-not-loading/1772198 "2024-03-25T22:46:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nhauste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nhauste](https://forums.unrealengine.com/u/Nhauste)\
**Post date:** [March 25, 2024, 10:46pm UTC](https://forums.unrealengine.com/t/gameplay-tags-from-custom-plugin-not-loading/1772198/1 "2024-03-25T22:46:28Z")

</div>

Hello there!

I created a custom plugin in 5.3 and I want some gameplay tags to be part of it. I have found several older threads explaining the following method:

- My plugin name is “MyPlugin”
- Inside its folder, I created the subfolder Config/Tags
- Inside Config/Tags, I created an INI file named MyPluginTags.ini

Finally, my INI file contains the following:

[/Script/GameplayTags.GameplayTagsList]  
GameplayTagList=(Tag=“MyTag.Red”,DevComment=“”)  
GameplayTagList=(Tag=“MyTag.Blue”,DevComment=“”)

Unfortunately, these tags do not show up in the gameplay tags list when my project is opened.

Am I missing something?

Cheers!

---

<div class="post-metadata">

**Author:** ![Nhauste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nhauste](https://forums.unrealengine.com/u/Nhauste)\
**Post date:** [March 26, 2024, 1:21pm UTC](https://forums.unrealengine.com/t/gameplay-tags-from-custom-plugin-not-loading/1772198/2 "2024-03-26T13:21:47Z")

</div>

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.

1. Adding _ **“GameplayTags”** _ to the PublicDependencyModuleNames in _ **MyPlugin/Source/MyPlugin/MyPlugin.Build.cs** _ 👇

```auto
PublicDependencyModuleNames.AddRange(
			new string[]
			{
				"Core",
				"GameplayTags"
				// ... add other public dependencies that you statically link with here ...
			}
			);

```

1. Editing the _**FMyPluginModule::StartupModule()**_ function in _ **MyPlugin/Source/Myplugin/Private/Myplugin.cpp** _ 👇

```auto
void FMyPluginModule::StartupModule()
{
	UGameplayTagsManager::Get().AddTagIniSearchPath(FPaths::ProjectPluginsDir() / TEXT("MyPlugin/Config/Tags"));
}

```

1. Rebuilding the plugin from source on a clean empty project.

After doing these 3 steps and reimporting my plugin in my actual project, I got access to my plugin gameplay tags as desired 🙂

Hope this helps anyone stumbling upon the same issue.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 25, 2024, 1:22pm UTC](https://forums.unrealengine.com/t/gameplay-tags-from-custom-plugin-not-loading/1772198/3 "2024-04-25T13:22:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
