# I need help with Plugin Packaging

**URL:** <https://forums.unrealengine.com/t/i-need-help-with-plugin-packaging/69593>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Packaging\
**Created:** [July 21, 2016, 9:40pm UTC](https://forums.unrealengine.com/t/i-need-help-with-plugin-packaging/69593 "2016-07-21T21:40:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackFangTech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackFangTech](https://forums.unrealengine.com/u/BlackFangTech)\
**Post date:** [July 21, 2016, 9:40pm UTC](https://forums.unrealengine.com/t/i-need-help-with-plugin-packaging/69593/1 "2016-07-21T21:40:53Z")

</div>

I run “Engine\Build\BatchFiles\RunUAT.bat BuildPlugin -Plugin=[Path to .uplugin file, must be outside engine directory] -Package=[Output directory] -Rocket” from command prompt as instructed to by epic.

I get pages of errors, most of them from engine classes.

```auto

UnrealBuildTool: C:\Users\Fang\Desktop\Engine\UnrealEngine_4.12.5\Engine\Source\Runtime\Engine\Classes\Components/BillboardComponent.h(15): error C2504: 'UPrimitiveComponent': base class undefinedC:\Users\Fang\Desktop\Engine\UnrealEngine_4.12.5\Engine\Source\Runtime\Engine\Classes\Interfaces/Interface_CollisionDataProvider.h(66): error C2504: 'UInterface': base class undefined

```

```auto

UnrealBuildTool: C:\Users\Fang\Desktop\Engine\UnrealEngine_4.12.5\Engine\Source\Runtime\Engine\Classes\Components/BillboardComponent.h(46): error C2079: 'UBillboardComponent::SpriteInfo' uses undefined struct 'FSpriteCategoryInfo'

```

Some are from my classes.

```auto

UnrealBuildTool: C:\Users\Fang\Desktop\Engine\UnrealEngine_4.12.5\HostProject\Plugins\LookAlive\Source\LookAlive\Public/LookFocusComponent.h(14): error C2275: 'FVector': illegal use of this type as an expression

```

That one was from a class that inherits from UBillboardComponent.

These errors don’t make sense to me. My plugin compiles with no warnings or errors in Visual Studio. It works perfectly in game.

Can anyone give their two-cents on things I should try?
