# Unable to generate long package name

**URL:** <https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, Blueprint, CPP, question\
**Created:** [March 23, 2016, 10:13pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552 "2016-03-23T22:13:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hevedy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hevedy](https://forums.unrealengine.com/u/Hevedy)\
**Post date:** [March 23, 2016, 10:13pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/1 "2016-03-23T22:13:42Z")

</div>

When you import a project from 4.10 to 4.11 then all works fine but at try to compile start the party:

- The assets in the warnings of the log are the assets from the original project and no the clone.
- PackagingResults:Warning: Warning Warning Unable to generate long package name for
- but the path contains illegal characters ‘.’

Basically looks like is using my old project folder assets and no the created folder ones.

```
PackagingResults:Warning: Warning Warning Unable to generate long package name for ../../../../../../Users/X/Documents/Unreal Projects/OWP_10/Content/Materials/World/OpaqueMaterials_Inst5.uasset because FilenameToLongPackageName failed to convert '../../../../../../Users/X/Documents/Unreal Projects/OWP_10/Content/Materials/World/OpaqueMaterials_Inst5
.uasset'. Attempt result was '../../../../../../Users/X/Documents/Unreal Projects/OWP_10/Content/Materials/World/OpaqueMaterials_Inst5', but the path contains illegal characters '.'

```

And the generated project folder and the current project in 4.11 is “OWP\_10 4.11” and no “OWP\_10” and in the old 4.10 all works fine at package.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 24, 2016, 9:09pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/2 "2016-03-24T21:09:47Z")

</div>

Hevedy,

Please change the name of your files. The 256 character limit goes all the way back to C:/MyDocuments/Folder1/Project/ etc. Once you’ve done that, let me know what occurs. Please upload your logs as a .txt file.

Thanks!

---

<div class="post-metadata">

**Author:** ![Hevedy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hevedy](https://forums.unrealengine.com/u/Hevedy)\
**Post date:** [March 24, 2016, 9:34pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/3 "2016-03-24T21:34:11Z")

</div>

Sorry but as I said my files are already in D D/Users/X/Documents/Unreal Projects/OWP\_10/Content/Materials/World/OpaqueMaterials\_Inst5’ but UE4 is doing rare things and create a “…/…/…/…/…/…/” path, try by your own to create a project in 4.10 and then import to the 4.11 and package you will see.

The copy of my original 4.10 project is like if go to root then back and go to the original project folder to read the files, as you can see, is not my fault

\*There is a way to fix, if you clear the cache of the generated new version folder.

\*My 4.10 Project D:/Users/X/Documents/Unreal Projects/OWP\_10/

\*My 4.11 Project D:/Users/X/Documents/Unreal Projects/OWP\_10\_4.11/

At compile in 4.11 is using the …/…/…/…/…/…/Users/X/Documents/Unreal Projects/OWP\_10 to the 4.10 folder and doing a go back no IDEA WHY.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 30, 2016, 9:25pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/4 "2016-03-30T21:25:26Z")

</div>

I am unable to get this to replicate. Is there anything special that you’re doing when you’ve set your project up? Are you using it for PC \> Settings as well as Starter Content? Are you only getting this to occur on C++ projects, or is this happening on BP too?

---

<div class="post-metadata">

**Author:** ![Hevedy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hevedy](https://forums.unrealengine.com/u/Hevedy)\
**Post date:** [March 31, 2016, 12:37am UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/5 "2016-03-31T00:37:34Z")

</div>

When create a project in 4.10 with C++ template and then in 4.11 open as copy and then in the 4.11 package the game for x32 (If you set Nativize Blueprint Assets, will be faster to check) at compile the package you will get the problems in the log.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 31, 2016, 8:46pm UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/6 "2016-03-31T20:46:53Z")

</div>

Hey Hevedy,

So I followed the steps that you provided and have not been able to replicate this. Have you attempted this on the released 4.11.0 version yet?

Thanks!

---

<div class="post-metadata">

**Author:** ![Hevedy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hevedy](https://forums.unrealengine.com/u/Hevedy)\
**Post date:** [April 1, 2016, 6:02am UTC](https://forums.unrealengine.com/t/unable-to-generate-long-package-name/351552/7 "2016-04-01T06:02:36Z")

</div>

When create a copy of a project in a new version make sure you remove the folders “Intermediate” and “Saved” to work without problems like that.
