# Code-Based Project still not packaging Plugin

**URL:** <https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945>\
**Category:** Plugins\
**Tags:** unreal-engine, bug-report, Plugins, UE4, Blueprint, question\
**Created:** [May 27, 2015, 9:06pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945 "2015-05-27T21:06:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anaklu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklu](https://forums.unrealengine.com/u/Anaklu)\
**Post date:** [May 27, 2015, 9:06pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/1 "2015-05-27T21:06:11Z")

</div>

Hi guys!

In an attempt to package my otherwise blueprint-only project with Rama’s Victory plugin (awesome work, Rama), I added four empty code classes to my project - two pawns, a PlayerController, and a completely empty class.

When I try to build the resulting project, the buildtool breaks with the following error text in UnrealBuildTool.txt:

```
Parsing headers for Arena
Reflection code generated for Arena
Performing 13 actions (4 in parallel)
[3/13] Resource Arena.rc
PCH.UELinkerFixups.UELinkerFixupsName.h.cpp
PCH.Arena.Arena.h.cpp
UELinkerFixups.cpp
Arena.generated.cpp
VictoryPluginPC.cpp
VictoryPawn2.cpp
VictoryPawn.cpp
VictoryEmpty.cpp
LevelUpData.cpp
Arena.cpp
HTTPStreamingASync.cpp
[13/13] Link Arena.exe
LINK : fatal error LNK1181: cannot open input file 'C:\Program Files\Epic Games\4.7\Engine\Plugins\VictoryPlugin\Binaries\Win64\VictoryBPLibrary-Static.lib'
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: C:\Users\Billy\Dropbox\Projects\Arena\Unreal\Binaries\Win64\Arena.exe
Cumulative action seconds (4 processors): 0.00 building projects, 34.58 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.10 linking, 0.00 other
UBT execution time: 43.01 seconds

```

The .lib file referenced does not exist in the downloadable version of Rama’s plugin, and therefore is not at the location referenced. Is that created afterwards, or is this error just a symptom that my project is still blueprint-only?

edit: bumping this thread to add that I’ve added actual code to my project in order to implement a custom datatable structure. Trying to remove this plugin, even following Rama’s instructions, causes my project to crash, and I can’t package it while the plugin is still attached.

Can anyone help? ☹

Here’s the crash data: (super long) [MachineId:987CDC954B51AABC82B214AE56220798EpicAccountId:5505438a0d414b9c8cab9a - Pastebin.com](http://pastebin.com/CGjLArRT)

---

<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 29, 2015, 4:58pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/2 "2015-05-29T16:58:05Z")

</div>

As has been mentioned many times on the forums, until 4.8 you need to have Visual Studio and recompile my plugin for your project yourself in order to package it.

This restriction should be going away in 4.8, the closer we get to plugins being available on the marketplace.

#Uploading

I’m going to package and upload a 4.7.6 version, which has a much higher file size but includes the static lib.

---

<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 29, 2015, 5:07pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/3 "2015-05-29T17:07:00Z")

</div>

#Solution, Download For You

Hi there!

I’ve packaged my plugin with a sample project in **4.7.6** in order to produce the static lib, it is in my **May 29th 2015** build which has the noticeably higher download size of 7.8mb

**UE4 Wiki Link**

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Please let me know if this is sufficient to enable you to package.

Have fun today!

Rama

---

<div class="post-metadata">

**Author:** ![Anaklu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklu](https://forums.unrealengine.com/u/Anaklu)\
**Post date:** [May 29, 2015, 5:37pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/4 "2015-05-29T17:37:52Z")

</div>

Worked perfectly! Thank you for packaging it again for me, I probably would have screwed up the VS build as well 🙂

---

<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:38am UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/5 "2015-08-20T09:38:21Z")

</div>

When are you releasing the plugin for 4.8?, it works in the editor but will not work for packaged builds

---

<div class="post-metadata">

**Author:** ![Anaklu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklu](https://forums.unrealengine.com/u/Anaklu)\
**Post date:** [August 20, 2015, 5:30pm UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/6 "2015-08-20T17:30:32Z")

</div>

I just packaged my game in 4.8 with the VictoryPlugin and played it successfully.

---

<div class="post-metadata">

**Author:** ![FearTheFuzZY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FearTheFuzZY](https://forums.unrealengine.com/u/FearTheFuzZY)\
**Post date:** [December 11, 2015, 1:15am UTC](https://forums.unrealengine.com/t/code-based-project-still-not-packaging-plugin/319945/7 "2015-12-11T01:15:58Z")

</div>

Which version of the VictoryPlugin do I need to have it work on Unreal 4.8.1?

I see a long list but I am not sure which plugin to download.
