Packaging Settings: FileName ToLong to Convert

Hello, I’m developing my own horror game in unreal engine 4 (Version 4.17) I’m trying to add maps to my packaging settings and this is an error i’m getting: FilenameToLongPackageName failed to convert ‘…/…/…/…/…/…/Users/Owner/Documents/Unreal Projects/SurviveWithoutDying4_17/Intermediate/Build/Win32/SurviveWithoutDying/ThirdPersonBP/Maps/Main_Menu.umap’. Attempt result was ‘…/…/…/…/…/…/Users/Owner/Documents/Unreal Projects/SurviveWithoutDying4_17/Intermediate/Build/Win32/SurviveWithoutDying/ThirdPersonBP/Maps/Main_Menu’, but the path contains illegal characters ‘.’

Is it the characters are to long or the localization wasn’t set up?

Thank You. :slight_smile:

Never mind I resolved it myself

How did you fix it? The answer may help others.

Hello,

since I am facing the same issue and documentation is a bit scarce on this: would you be so kind to give me some hint about how you managed to fix it?
Thank you in advance

Yeah, this is useless man. Just delete the question or provide an answer so you don’t lead people here for no reason.

I got this error when I was attempting to package only certain maps in project settings. I think it happened because I had recently created a copy of the project to open it in a new version of unreal.

Anyway, I solved the problem by deleting saved and intermediate folders.

Make sure to duplicate your project before you do the above, so you have a backup.

GL

I fixed this by just copying and pasting the intended directory into the “List of maps to include in a packaged build” field, because when you try to input it the normal way, it adds the …\ which unreal can’t read.
Worked for me after that.