# How do you include plugins in packaged builds?

**URL:** <https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815>\
**Category:** Plugins\
**Tags:** packaged, unreal-engine, link, Plugins, CPP, question\
**Created:** [May 20, 2014, 12:25pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815 "2014-05-20T12:25:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 20, 2014, 12:25pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/1 "2014-05-20T12:25:22Z")

</div>

Hi, i recently downloaded Rama’s blueprint library plugin ( [(39) 's Extra Blueprint Nodes for You as a Plugin, No C++ Required! - Blueprint - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?3851-(39)-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required)! ) and i got it working fine when playing in the editor but i can’t seem to get it to transfer to the packaged build.

When i run my packaged build and then look at the logs i get these errors.

```
[2014.05.19-11.49.17:719][0]LogLinker:Warning: Can't find file '/Script/VictoryBPLibrary'
[2014.05.19-11.49.17:719][0]LogUObjectGlobals:Warning: Failed to load '/Script/VictoryBPLibrary': Can't find file '/Script/VictoryBPLibrary'
[2014.05.19-11.49.17:720][0]LogLinker:Warning: Can't find file for asset '/Script/VictoryBPLibrary' while loading NULL.
[2014.05.19-11.49.17:720][0]LogUObjectGlobals:Warning: Failed to load '/Script/VictoryBPLibrary': Can't find file for asset '/Script/VictoryBPLibrary' while loading NULL.

```

I asked Rama and i was suggested to add one of these into my .Build.cs but it does not compile.

```
    //Private Paths
    PrivateIncludePaths.AddRange(new string[] { "Temple2\Plugins\PLUGIN_VictoryBPLibrary\Source\VictoryBPLibrary\Private" });

    //Dynamically Loaded Modules
    DynamicallyLoadedModuleNames.AddRange(new string[] { "VictoryBPFunctionLibrary" });

```

So i’m asking here as well, i can’t find any information on how you would link a plugin to a packaged build. Is there anyone that can explain how you would do this?

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 20, 2014, 5:17pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/2 "2014-05-20T17:17:22Z")

</div>

#Please Help Epic

I dont know how can include my plugin code in a packaged build, any ideas?

Thanks!

Rama

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 10:59am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/3 "2014-05-22T10:59:55Z")

</div>

Ok, I had the same problem with my plugin and the solution is stupid simple but took me about a day to figure it out.

1. Go to YourProject\Saved\Config\Windows
2. In Engine.ini add under [Plugins] (if it does not exist add that too): EnabledPlugins=PluginName.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 11:13am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/4 "2014-05-22T11:13:38Z")

</div>

I went into the .ini file you were talking about and under the [Plugins] part the plugin that i’m trying to get working is present.  
EnabledPlugins=VictoryBPLibrary

But it does still not work for me, have you gotten your plugin to work in a packaged build and if so, what steps did you take?

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 11:16am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/5 "2014-05-22T11:16:31Z")

</div>

Try in DefaultEngine.ini in YourProject\Saved\Config\

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 11:20am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/6 "2014-05-22T11:20:35Z")

</div>

In DefaultEngine.ini i have “UnrealEdEngine=/Script/VictoryBPLibrary.VictoryEdEngine” in the [/Script/Engine.Engine] part. Does that seem correct or is there something else i need to write in?

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 11:22am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/7 "2014-05-22T11:22:45Z")

</div>

Try adding

```
[Plugins]
EnabledPlugins=VictoryBPLibrary

```

this is my DefaultEngine.ini

```
[URL]
GameName=KinectDemo

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
-TargetedRHIs=PCD3D_SM4

[Plugins]
EnabledPlugins=KinectV2

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Engine/Maps/Templates/Template_Default
EditorStartupMap=/Game/Maps/Minimal_Default
TransitionMap=
bUseSplitscreen=True
TwoPlayerSplitscreenLayout=Horizontal
ThreePlayerSplitscreenLayout=FavorTop
GameDefaultMap=/Engine/Maps/Entry
GameDefaultMap=/Game/Maps/Minimal_Default
GlobalDefaultGameMode=/Script/Engine.GameMode
GlobalDefaultGameMode=/Game/Blueprints/NewGameMode.NewGameMode_C
GlobalDefaultServerGameMode=/Script/Engine.GameMode
GlobalDefaultServerGameMode=/Game/Blueprints/NewGameMode.NewGameMode_C
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 11:48am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/8 "2014-05-22T11:48:55Z")

</div>

I tried adding those two lines but it still does not work after i package the project.  
This is my DefaultEngine.ini

```
[URL]
GameName=Temple

[/Script/Engine.CollisionProfile]

; customized game channel
; if you do this, make sure you define in native for convenience
+DefaultChannelResponses=(Channel=ECC_GameTraceChannel1, Name=Projectile)

+Profiles=(Name="Projectile", CollisionEnabled=QueryOnly,ObjectTypeName=Projectile, CustomResponses=( \
(Channel=PhysicsBody, Response=ECR_Overlap), \
(Channel=Projectile, Response=ECR_Ignore) \
)) 

[/Script/Engine.Engine]
+ActiveGameNameRedirects=(OldGameName="TP_FirstPerson",NewGameName="/Script/Temple")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPerson",NewGameName="/Script/Temple")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonProjectile",NewClassName="TempleProjectile")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonHUD",NewClassName="TempleHUD")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonGameMode",NewClassName="TempleGameMode")
+ActiveClassRedirects=(OldClassName="TP_FirstPersonCharacter",NewClassName="TempleCharacter")

[Plugins]
EnabledPlugins=VictoryBPLibrary

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/Maps/BaseLevel
TransitionMap=
bUseSplitscreen=True
TwoPlayerSplitscreenLayout=Horizontal
ThreePlayerSplitscreenLayout=FavorTop
GameDefaultMap=/Game/Maps/MainMenu
GlobalDefaultGameMode=/Script/Temple.TempleGameMode

[/Script/Engine.PhysicsSettings]
bEnableAsyncScene=False
MaxPhysicsDeltaTime=0.033333
bSubstepping=False
MaxSubstepDeltaTime=0.016667
MaxSubsteps=6
SyncSceneSmoothingFactor=0.000000
AsyncSceneSmoothingFactor=0.990000
InitialAverageFrameRate=0.016667
+PhysicalSurfaces=(Type=SurfaceType1,Name="Stone")

```

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 11:55am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/9 "2014-05-22T11:55:53Z")

</div>

in VictoryBPLibrary.uplugin change from “Type” : “Developer” to “Type” : “Runtime”

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 11:59am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/10 "2014-05-22T11:59:25Z")

</div>

Where do you do that? I did not create the plugin.

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 12:01pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/11 "2014-05-22T12:01:26Z")

</div>

Where you installed the plugin, Usually in Engine/Plugins/VictoryBPLibrary

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 12:12pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/12 "2014-05-22T12:12:57Z")

</div>

After changing to “Runtime” i get this when starting the .exe.  
"Plugin ‘VictoryBPLibrary’ failed to load because module ‘VictoryBPLibrary’ could not be found.

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 12:14pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/13 "2014-05-22T12:14:28Z")

</div>

Ok, let me check it much more in depth

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 12:22pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/14 "2014-05-22T12:22:57Z")

</div>

Cook and package it again after changing it to Runtime please, maybe it will solve it

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d71a2fac1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d71a2fac1](https://forums.unrealengine.com/u/anonymous_user_d71a2fac1)\
**Post date:** [May 22, 2014, 12:41pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/15 "2014-05-22T12:41:07Z")

</div>

I tried packaging it after setting it to Runtime as well as changing some lines in DefaultEngine but i still get “Plugin ‘VictoryBPLibrary’ failed to load because module ‘VictoryBPLibrary’ could not be found.”

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 12:43pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/16 "2014-05-22T12:43:17Z")

</div>

email me at lion032 at gmail dot com

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 10:35pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/17 "2014-05-22T22:35:05Z")

</div>

The source of the problem was found, it was UnrealEd dependency in the plugin itself.  
The fixed code was sent to Rama for review.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 22, 2014, 11:27pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/18 "2014-05-22T23:27:43Z")

</div>

#Thank You Lion!

Thank youuu!

This really helps me out!

You did an amazing job splitting the plugin into two modules, but still only having 1 file / 1 plugin to check off in the Editor!

Awesome work!

#❤

Rama

PS: will be emailing you back soon

---

<div class="post-metadata">

**Author:** ![lion032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lion032](https://forums.unrealengine.com/u/lion032)\
**Post date:** [May 22, 2014, 11:40pm UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/19 "2014-05-22T23:40:59Z")

</div>

Thank you very much Rama! 🙂

---

<div class="post-metadata">

**Author:** ![Darkworth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Darkworth](https://forums.unrealengine.com/u/Darkworth)\
**Post date:** [August 1, 2014, 2:02am UTC](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/20 "2014-08-01T02:02:23Z")

</div>

Was this ever fixed? I am still having this exact issue with UE4.3.1 and the newest build of Rama’s Victory Plugin.

[Next page](https://forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815.md?page=2)
