# Failed to convert .... but the path contains illegal characters '.'

**URL:** <https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484>\
**Category:** Character & Animation\
**Tags:** package, windows, unreal-engine, fail, question\
**Created:** [December 4, 2015, 12:33pm UTC](https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484 "2015-12-04T12:33:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [December 4, 2015, 12:33pm UTC](https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484/1 "2015-12-04T12:33:35Z")

</div>

Trying to package the game for Windows 64bit but I am getting these illegal character errors.

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.12.04-10.10.32:699][0]LogInit:Display: LogCook:Warning: Unable to generate long package name for …/…/…/…/…/…/Users/Excalibur/Documents/Unreal Projects/epoch\_working\_zeustiak 4.9/Content/Textures/Utility/Tex\_BG\_MapGenerating\_1080p.uasset because FilenameToLongPackageName failed to convert ‘…/…/…/…/…/…/Users/Excalibur/Documents/Unreal Projects/epoch\_working\_zeustiak 4.9/Content/Textures/Utility/Tex\_BG\_MapGenerating\_1080p.uasset’. Attempt result was ‘…/…/…/…/…/…/Users/Excalibur/Documents/Unreal Projects/epoch\_working\_zeustiak 4.9/Content/Textures/Utility/Tex\_BG\_MapGenerating\_1080p’, but the path contains illegal characters ‘.’  
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd:

link text

I hope the solution to this isn’t “Rename 2175+ files”…

Would appreciate any help with this!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [December 4, 2015, 12:41pm UTC](https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484/2 "2015-12-04T12:41:14Z")

</div>

Judging from the error message (and having experienced the same issue), I’d say that the problem lies with “epoch\_working\_zeustiak 4.9”. You can’t use ‘.’ within file names. Replace “4.9” with “4\_9” or something, and you should be good to go.

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [December 4, 2015, 1:15pm UTC](https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484/3 "2015-12-04T13:15:42Z")

</div>

Yeah, I had a feeling that might be the case. Such an error message should definitely come before the packaging process.

Some other points:

1. The file name increments automatically from 4.8 to 4.9, etc when I copy and upgrade to each new version.
2. This is actually in 4.10, and that is what the file is named so I am not sure why it is even called 4.9 in the error…

If you can’t have “.” in a file name, then why would it automatically increment to each new version using illegal characters?

Anyway, thanks for the heads up. I will see if I can work it out in the morning.

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [December 4, 2015, 2:18pm UTC](https://forums.unrealengine.com/t/failed-to-convert-but-the-path-contains-illegal-characters/340484/4 "2015-12-04T14:18:37Z")

</div>

Note to others, don’t ever rename a project inside perforce. Bad things happen. Copy the project, rename it, and then upload it by itself.
