# Cannot Package Game. Exit code=5

**URL:** <https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865>\
**Category:** Blueprint\
**Tags:** error, Packaging-Error, unreal-engine, Blueprint, question\
**Created:** [April 5, 2018, 11:54am UTC](https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865 "2018-04-05T11:54:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnClockwork](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cnClockwork](https://forums.unrealengine.com/u/cnClockwork)\
**Post date:** [April 5, 2018, 11:54am UTC](https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865/1 "2018-04-05T11:54:07Z")

</div>

Hello all, this is my first post. I am trying to package my game, but I keep running into this dumb error. I’ve already installed Visual Studio and checked the C++ bool that came with it.

This is the error I got. Any ideas???

```
WARNING: Warning: Plugin 'NativizedAssets' does not list plugin 'OnlineSubsystemUtils' as a dependency, but module 'NativizedAssets' depends on 'OnlineSubsystemUtils'.
WARNING: Warning: Plugin 'NativizedAssets' does not list plugin 'AdvancedSessions' as a dependency, but module 'NativizedAssets' depends on 'AdvancedSessions'.
Parsing headers for Op_Ares_Alpha
  Running UnrealHeaderTool "D:\school\quantum leap\opares[april 4] v1.2\Op_Ares_Alpha.uproject" "D:\school\quantum leap\opares[april 4] v1.2\Intermediate\Build\Win64\Op_Ares_Alpha\Development\Op_Ares_Alpha.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
D:/school/quantum leap/opares[april 4] v1.2/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BPI_Marker__pf2132744816.h(15) : Error: 'bpf__SetObjectives __pf' conflicts with 'Function /Script/NativizedAssets.BPI_Marker_C:bpf__ SetObjectives__pf'
Error: UnrealHeaderTool failed for target 'Op_Ares_Alpha' (platform: Win64, module info: D:\school\quantum leap\opares[april 4] v1.2\Intermediate\Build\Win64\Op_Ares_Alpha\Development\Op_Ares_Alpha.uhtmanifest, exit code: OtherCompilationError (5)).
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b5b115c41](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b5b115c41](https://forums.unrealengine.com/u/anonymous_user_b5b115c41)\
**Post date:** [April 5, 2018, 9:42pm UTC](https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865/2 "2018-04-05T21:42:24Z")

</div>

Based on the “BPI” prefix, I am assuming you are making a Blueprint Interface with a Set Objectives function in it. Blueprint Interfaces have a few issues with Nativization turned on. Check out issues [UE-42373](https://issues.unrealengine.com/issue/UE-42373) and [UE-52372](https://issues.unrealengine.com/issue/UE-52372) to see if either of those describe your issue.

---

<div class="post-metadata">

**Author:** ![cnClockwork](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cnClockwork](https://forums.unrealengine.com/u/cnClockwork)\
**Post date:** [April 10, 2018, 6:33am UTC](https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865/3 "2018-04-10T06:33:30Z")

</div>

Turns out, I just needed some Visual Studio stuff. You need to install the C++ compilers, Windows 10 APIs, AND Windows 8 and 8.1 APIs. All of that good stuff. Then you’ll be golden.

---

<div class="post-metadata">

**Author:** ![cnClockwork](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cnClockwork](https://forums.unrealengine.com/u/cnClockwork)\
**Post date:** [April 10, 2018, 6:33am UTC](https://forums.unrealengine.com/t/cannot-package-game-exit-code-5/421865/4 "2018-04-10T06:33:53Z")

</div>

Thanks for your reply!
