# UnrealBuildTool Dependancy Warning

**URL:** <https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128>\
**Category:** Platform & Builds\
**Tags:** build-tool, build, unreal-engine, question\
**Created:** [September 8, 2017, 9:11pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128 "2017-09-08T21:11:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bb5a8d2d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bb5a8d2d](https://forums.unrealengine.com/u/anonymous_user_bb5a8d2d)\
**Post date:** [September 8, 2017, 9:11pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/1 "2017-09-08T21:11:46Z")

</div>

I am getting this warning when I build…

UnrealBuildTool: Warning: Plugin ‘A’ does not list plugin ‘B’ as a dependency, but module ‘A’ depends on ‘B’

But in my A.Build.cs file I have this…

```
public class A : ModuleRules
{
   public A(ReadOnlyTargetRules Target) : base(Target)
   {
      PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
      
      PublicIncludePaths.AddRange(
         new string[] {
            "A/Public"
            // ... add public include paths required here ...
         }
         );
            
      
      PrivateIncludePaths.AddRange(
         new string[] {
            "A/Private",
            // ... add other private include paths required here ...
         }
         );
         
      
      PublicDependencyModuleNames.AddRange(
         new string[]
         {
            "Core",
            // ... add other public dependencies that you statically link with here ...
            "B"
         }
         );
         
      
      PrivateDependencyModuleNames.AddRange(
         new string[]
         {
            "CoreUObject",
            "Engine",
            "Slate",
            "SlateCore",
            // ... add private dependencies that you statically link with here ...	
         }
         );
      
      
      DynamicallyLoadedModuleNames.AddRange(
         new string[]
         {
            // ... add any modules that your module loads dynamically here ...
         }
         );
   }
}

```

So… Yeah. Ummmm. Where am I supposed to list B as being a dependency of A?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7d4468a9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7d4468a9](https://forums.unrealengine.com/u/anonymous_user_7d4468a9)\
**Post date:** [September 12, 2017, 8:40pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/2 "2017-09-12T20:40:24Z")

</div>

you need to modify your PluginA.uplugin file

for example

```
{
	"FileVersion": 3,
	"Version": 1,
	"VersionName": "1.0",
	"FriendlyName": "PluginA",
	"Description": " my plugin description.",
	"Category": "MyPlugins",
	"CreatedBy": "",
	"CreatedByURL": "",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"CanContainContent": true,
	"IsBetaVersion": false,
	"Installed": false,
  "Modules": [
    {
      "Name": "PluginA",

      "Type": "Developer",
      "LoadingPhase": "Default"
    }
  ],
  "Plugins": [
    {
      "Name": "PluginB",
      "Enabled": true
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![fernio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fernio](https://forums.unrealengine.com/u/fernio)\
**Post date:** [August 6, 2018, 4:35am UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/3 "2018-08-06T04:35:12Z")

</div>

How did you know? Is this documented anywhere??

---

<div class="post-metadata">

**Author:** ![AnotherZach](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnotherZach](https://forums.unrealengine.com/u/AnotherZach)\
**Post date:** [October 14, 2020, 8:54pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/4 "2020-10-14T20:54:24Z")

</div>

Thanks for this. Not OP, but you saved my bacon.

---

<div class="post-metadata">

**Author:** ![Mr.pOtAtO29](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr.pOtAtO29](https://forums.unrealengine.com/u/Mr.pOtAtO29)\
**Post date:** [July 5, 2022, 1:31am UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/5 "2022-07-05T01:31:20Z")

</div>

Thankyou this saved my butt

---

<div class="post-metadata">

**Author:** ![damon21501](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@damon21501](https://forums.unrealengine.com/u/damon21501)\
**Post date:** [November 25, 2023, 12:26pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-dependancy-warning/404128/6 "2023-11-25T12:26:03Z")

</div>

Thank you for your help!
