# Distributing plugin as a binary?

**URL:** <https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140>\
**Category:** Plugins\
**Tags:** unreal-engine, Packaging, binaries, Plugins, question\
**Created:** [June 26, 2015, 3:28pm UTC](https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140 "2015-06-26T15:28:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_179b37d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_179b37d4](https://forums.unrealengine.com/u/anonymous_user_179b37d4)\
**Post date:** [June 26, 2015, 3:28pm UTC](https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140/1 "2015-06-26T15:28:34Z")

</div>

Hi there,

I was migrating from UE4.7 to 4.8 and I found out a change in behavior for which I  
would like to know more. I am developing an engine plugin which has to  
be distributed as source and binaries. The purpose of the binary distribution is  
to allow clients with pre-compiled (Installed) UE4 to use the plugin. The  
process of pre-compiling the plugin binaries is, to put it mildly, rigid. In  
order to have the binaries compatible with the Installed engine you have to:

1. Move the engine plugin to a sample project (change it to a game plugin)
2. Compile the game plugin with the Installed version of UE4
3. Move back the plugin to the engine

Now to make it even more “fun” you have to do this for every build configuration  
that is available.

For versions prior 4.8 we used this command to build only the plugin, not the  
whole engine:

UnrealBuildTool.exe ProjectName Win32 Shipping ProjectName.uproject -noxge  
-rocket -module PluginName

What it used to do was to compile only the plugin files into a binary. In 4.8  
the same command now it tries to link with the whole game  
(GameName-Win32-Shipping.exe) and fails miserably, due to missing external  
symbols from the engine itself. If I try to build(package) the project from the  
editor everything works because the whole game is compiled. Now this leaves me with  
two choices:

1. Compile the whole project and package it six times (the number of available  
configurations) multiplied by number of supported platforms.
2. Drop the support for the Pre-compiled UE4.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_179b37d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_179b37d4](https://forums.unrealengine.com/u/anonymous_user_179b37d4)\
**Post date:** [June 30, 2015, 9:11am UTC](https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140/2 "2015-06-30T09:11:03Z")

</div>

Any ideas? Anyone?

---

<div class="post-metadata">

**Author:** ![Chaoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaoss](https://forums.unrealengine.com/u/Chaoss)\
**Post date:** [August 20, 2015, 9:39am UTC](https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140/3 "2015-08-20T09:39:20Z")

</div>

It doesn’t support it 4.8+ unfortunately so your out of luck my friend

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5ab39478](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5ab39478](https://forums.unrealengine.com/u/anonymous_user_5ab39478)\
**Post date:** [August 20, 2015, 9:27pm UTC](https://forums.unrealengine.com/t/distributing-plugin-as-a-binary/323140/4 "2015-08-20T21:27:49Z")

</div>

Facing a similar issue - would love to hear ideas about better ways to do this.
