# Plugin dependent on another plugin

**URL:** <https://forums.unrealengine.com/t/plugin-dependent-on-another-plugin/387324>\
**Category:** Plugins\
**Tags:** dependencies, unreal-engine, Plugins, question\
**Created:** [March 8, 2017, 3:43pm UTC](https://forums.unrealengine.com/t/plugin-dependent-on-another-plugin/387324 "2017-03-08T15:43:47Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![anonymous\_user\_10b75a231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_10b75a231](https://forums.unrealengine.com/u/anonymous_user_10b75a231)\
**Post date:** [September 11, 2017, 6:05pm UTC](https://forums.unrealengine.com/t/plugin-dependent-on-another-plugin/387324/9 "2017-09-11T18:05:56Z")

</div>

FWIW, just tried this out in 4.17. In the .uplugin file of your plugin that will load an additional plugin, add a “Plugins” field on the same level as the other fields:

**MyPlugin.uplugin:**

```
"Modules": [
    {
      "Name": "MyPlugin",
      "Type": "Runtime",
      "LoadingPhase": "Default"
    }
  ],
  "Plugins": [ // <--
    { // <--
      "Name": "AdditionalPlugin", // <--
      "Enabled": true // <--
    } // <--
  ] // <--

```

Then simply include the additional plugin in the PublicDependencyModuleNames of the plugin’s Build.cs:

**MyPlugin.Build.cs:**

```
PublicDependencyModuleNames.AddRange(
	new string[]
	{
		"Core",
		"CoreUObject",
        "Engine",
        "AdditionalPlugin", // <--
	}
);

```

And of course make sure the parts of the additional plugin you want to use are properly exported using the `ADDITIONALPLUGIN_API` notation or you’ll get a LNK2019 unresolved external symbol error.

---

_[View the full topic](https://forums.unrealengine.com/t/plugin-dependent-on-another-plugin/387324)._
