Unable to generate long package name

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.

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!

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.

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?

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.

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!

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.