# Can't package game: "...has an inappropriate outermost"

**URL:** <https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549>\
**Category:** Platform & Builds\
**Tags:** Packaging-Failed, unreal-engine, Packaging, question\
**Created:** [March 31, 2017, 3:05am UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549 "2017-03-31T03:05:36Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![jman2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jman2015](https://forums.unrealengine.com/u/jman2015)\
**Post date:** [July 8, 2017, 3:10pm UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/21 "2017-07-08T15:10:43Z")

</div>

I had a similar issue where a BP was trying to access a C++ function in a BlueprintFunctionLibrary. I tried these solutions and they didn’t work. But what did for me was to rename the C++ function I was trying to access, then clean in Visual Studio and recompile in editor. The function I was accessing was misspelled anyway so its better off with the new name.

---

<div class="post-metadata">

**Author:** ![mxnko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mxnko](https://forums.unrealengine.com/u/mxnko)\
**Post date:** [July 24, 2017, 6:02am UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/22 "2017-07-24T06:02:13Z")

</div>

At first your solution didn’t seem to work. But key is disconnect, compile, save, reconnect, compile, save. For every single asset that reported the error in the log.

Works now!

---

<div class="post-metadata">

**Author:** ![Saltylike](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/saltylike/32/875361_2.png) [@Saltylike](https://forums.unrealengine.com/u/Saltylike)\
**Post date:** [August 30, 2017, 11:30pm UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/23 "2017-08-30T23:30:30Z")

</div>

Fixing up the redirectors of the whole project correted my issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_342c85a4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_342c85a4](https://forums.unrealengine.com/u/anonymous_user_342c85a4)\
**Post date:** [January 21, 2018, 7:29pm UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/24 "2018-01-21T19:29:54Z")

</div>

Hah… this is really a “production-ready” product. Had the same issue… then I just moved something in the blueprint and hit saved and it packaged (btw I didn’t see any visible error in blueprint because the Play worked). Now that I have a package I have no input… although alt+f4 works lol… Would be nice if at least one straightforward use case was without problems

---

<div class="post-metadata">

**Author:** ![Swdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swdan](https://forums.unrealengine.com/u/Swdan)\
**Post date:** [March 9, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/25 "2018-03-09T13:23:25Z")

</div>

not fixed and above solutions does not work. project gone broken untill i remove function lib entirely and recreate it. no sure it it will help anyway.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e85bfbf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e85bfbf](https://forums.unrealengine.com/u/anonymous_user_7e85bfbf)\
**Post date:** [June 6, 2018, 1:03pm UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/26 "2018-06-06T13:03:06Z")

</div>

You (and the following comments) probably saved my job!  
This stupid bug almost made me missing an important deadline…

---

<div class="post-metadata">

**Author:** ![Lumeron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lumeron](https://forums.unrealengine.com/u/Lumeron)\
**Post date:** [October 8, 2020, 4:50am UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/27 "2020-10-08T04:50:39Z")

</div>

Fascinating issue - this resolved it for me as well. I thought the compile button would handle this kind of refresh, but perhaps it’s not completely reliable yet. At least it’s an easy workaround!

---

<div class="post-metadata">

**Author:** ![TheTealestTeal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheTealestTeal](https://forums.unrealengine.com/u/TheTealestTeal)\
**Post date:** [February 22, 2021, 1:51am UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/28 "2021-02-22T01:51:20Z")

</div>

This worked! Thank you

---

<div class="post-metadata">

**Author:** ![Liber\_Noctua](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Liber\_Noctua](https://forums.unrealengine.com/u/Liber_Noctua)\
**Post date:** [June 3, 2021, 2:43am UTC](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549/29 "2021-06-03T02:43:18Z")

</div>

This worked perfectly for me. Pretty peculiar that this was an issue. Thank you so much for your solution!

[Previous page](https://forums.unrealengine.com/t/cant-package-game-has-an-inappropriate-outermost/389549.md?page=1)
