# Unable to compile source files when packaging project

**URL:** <https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887>\
**Category:** Platform & Builds\
**Tags:** error, failing, unreal-engine, packaging-projects, question\
**Created:** [April 17, 2020, 12:24pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887 "2020-04-17T12:24:33Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 17, 2020, 12:24pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/1 "2020-04-17T12:24:33Z")

</div>

Like the title states, I get errors whenever I try to package my project which results in the packaging failing

 ![299927-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/2/6d275a1df50045d8b117eaf06503413f0794c042.png)

Does anyone know what I could do to fix this issue ?

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 17, 2020, 5:21pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/2 "2020-04-17T17:21:50Z")

</div>

Do you code in Blueprint or C++?

You can try to build the game to a different folder.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 17, 2020, 6:27pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/3 "2020-04-17T18:27:26Z")

</div>

Hi first of all thanks for taking the time to respond, all the code I use is in blueprint, and by building the game to a different folder do you mean packaging it ?

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 17, 2020, 6:31pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/4 "2020-04-17T18:31:35Z")

</div>

Yes, parking the file to a different folder

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 17, 2020, 6:32pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/5 "2020-04-17T18:32:52Z")

</div>

I just tried and it gave me the same error right after I started it

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 18, 2020, 10:50am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/6 "2020-04-18T10:50:09Z")

</div>

Do you convert Blueprint to C++ when you build the game?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 10:59am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/7 "2020-04-18T10:59:39Z")

</div>

No I checked and this option is disabled but for some reason, it keeps generating c++ files, it’s generating them because of the plugins I have, so I think a way to fix this would be by disabling them but I can’t do that

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 18, 2020, 11:12am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/8 "2020-04-18T11:12:18Z")

</div>

Did you enable Nativize in any Blueprints?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 11:30am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/9 "2020-04-18T11:30:06Z")

</div>

I don’t think so the setting is disabled for packaging

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 11:30am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/10 "2020-04-18T11:30:57Z")

</div>

but isn’t the error maybe because there’s a space in my project’s name?

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 18, 2020, 11:34am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/11 "2020-04-18T11:34:28Z")

</div>

Try to give you project a new name, if that don’t work try to reinstall and verify the engine

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 11:45am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/12 "2020-04-18T11:45:05Z")

</div>

How do I do that ? Last time I tried manually renaming my project I couldn’t open it anymore and got plenty of errors just by changing a name, what’s the safe way of renaming a project ?

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 18, 2020, 11:50am UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/13 "2020-04-18T11:50:51Z")

</div>

First make a manual backup of your project.

Then make a copy in the Epic Games launcher with the right click, then you can give it a new name.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 1:10pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/14 "2020-04-18T13:10:37Z")

</div>

Good news it worked :), the problem was indeed the space in the project name, I managed to pack my project, thanks a lot I would still have this issue if it wasn’t for your help

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [April 18, 2020, 1:12pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/15 "2020-04-18T13:12:55Z")

</div>

Good to know, can you mark this as Resolved?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fab123f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fab123f1](https://forums.unrealengine.com/u/anonymous_user_fab123f1)\
**Post date:** [April 18, 2020, 1:43pm UTC](https://forums.unrealengine.com/t/unable-to-compile-source-files-when-packaging-project/463887/16 "2020-04-18T13:43:24Z")

</div>

yes it’s done thanks again for your help
