x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Error: Getting an "Illegal characters in path" error

So, when I was packaging my game, my computer crashed, so I restarted it and when I tried to package it again, it's now giving me this "Illegal characters in path error". I'm so screwed right now, if I can't package my game I can't release this game, and I made so much progress. Please, someone help me with this!

Here's the part of the log that got the error:

alt text

UATHelper: Packaging (Windows (64-bit)): ERROR: System.ArgumentException: Illegal characters in path. UATHelper: Packaging (Windows (64-bit)): at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) UATHelper: Packaging (Windows (64-bit)): at System.IO.Path.GetFullPathInternal(String path) UATHelper: Packaging (Windows (64-bit)): at Tools.DotNETCommon.FileReference..ctor(String InPath) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.DynamicCompilation.RequiresCompilation(List`1 SourceFileNames, FileReference AssemblySourceListFilePath, FileReference OutputAssemblyPath) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, List`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.RulesAssembly..ctor(IReadOnlyList`1 Plugins, List`1 ModuleFiles, List`1 TargetFiles, Dictionary`2 ModuleFileToPluginInfo, FileReference AssemblyFileName, RulesAssembly Parent) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.UEBuildTarget.CreateTarget(TargetDescriptor Desc, String[] Arguments, Boolean bCompilingSingleFile) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile) UATHelper: Packaging (Windows (64-bit)): Took 1.3346707s to run UnrealBuildTool.exe, ExitCode=5 UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Mini_Horror_Vol_1 Win64 Development -Project="C:\Users\Administrator\Documents\Unreal Projects\Mini_Horror_Vol_1\Mini_Horror_Vol_1.uproject" "C:\Users\Administrator\Documents\Unreal Projects\Mini_Horror_Vo l_1\Mini_Horror_Vol_1.uproject" -NoUBTMakefiles -remoteini="C:\Users\Administrator\Documents\Unreal Projects\Mini_Horror_Vol_1" -skipdeploy -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2018.03.05-20.06.26.txt' UATHelper: Packaging (Windows (64-bit)): (see C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace) UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5) UATHelper: Packaging (Windows (64-bit)): BUILD FAILED PackagingResults: Error: Unknown Error

Product Version: UE 4.18
Tags:
more ▼

asked Mar 06 '18 at 01:11 AM in Using UE4

avatar image

DaveDavey
38 6 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Alright, I fixed it by creating a brand new project and transfered the content folder from the previous project into the new project and It works like a charm. Thanks all for trying to help me with this.

more ▼

answered Mar 07 '18 at 02:18 AM

avatar image

DaveDavey
38 6 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Dave, best thing to do is close the editor. copy your C:\Users\Administrator\Documents\Unreal Projects\Mini_Horror_Vol_1\Saved folder to somewhere else (or delete it). Then repackage.

This should result in a clean package of your game.

/T

more ▼

answered Mar 06 '18 at 03:40 PM

avatar image

terry_burns85
66 1 2 3

avatar image DaveDavey Mar 06 '18 at 03:53 PM

It didn't work. It's still giving me that error for some reason.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question