# "ERROR: System.ArgumentException: Illegal characters in path." after crash

**URL:** <https://forums.unrealengine.com/t/error-system-argumentexception-illegal-characters-in-path-after-crash/408807>\
**Category:** Character & Animation\
**Tags:** fps-shooter-game-sam, corruption, unreal-engine, question, CPP\
**Created:** [November 5, 2017, 3:35pm UTC](https://forums.unrealengine.com/t/error-system-argumentexception-illegal-characters-in-path-after-crash/408807 "2017-11-05T15:35:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b5daba2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b5daba2](https://forums.unrealengine.com/u/anonymous_user_2b5daba2)\
**Post date:** [November 5, 2017, 3:35pm UTC](https://forums.unrealengine.com/t/error-system-argumentexception-illegal-characters-in-path-after-crash/408807/1 "2017-11-05T15:35:42Z")

</div>

I need some help tracking down where the extra characters are. My computer crashed recently and the project got corrupted. The .uproject files were garbage so I copied from previous version in repo but I can’t track down where these extra illegal characters are.

Output log:

```
Launching UnrealBuildTool... [C:/Unreal Engine/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe ShooterGame -ModuleWithSuffix ShooterGame 2432 -ModuleWithSuffix ShooterGameLoadingScreen 4344 Win64 Development -editorrecompile -canskiplink "J:/Unreal Projects/ShooterGame/ShooterGame.uproject"]
    Warning: Starting HotReload took 0.0s.
    CompilerResultsLog: New page: Compilation - Nov 5, 2017, 5:28:01 AM
    CompilerResultsLog: ERROR: System.ArgumentException: Illegal characters in path.
    CompilerResultsLog: at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
    CompilerResultsLog: at System.IO.Path.GetFullPathInternal(String path)
    CompilerResultsLog: at System.IO.Path.GetFullPath(String path)
    CompilerResultsLog: at UnrealBuildTool.FileReference..ctor(String InPath)
    CompilerResultsLog: at UnrealBuildTool.DynamicCompilation.RequiresCompilation(List`1 SourceFileNames, FileReference AssemblySourceListFilePath, FileReference OutputAssemblyPath)
    CompilerResultsLog: at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, List`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors)
    CompilerResultsLog: at UnrealBuildTool.RulesAssembly..ctor(IReadOnlyList`1 Plugins, List`1 ModuleFiles, List`1 TargetFiles, Dictionary`2 ModuleFileToPluginInfo, FileReference AssemblyFileName, RulesAssembly Parent)
    CompilerResultsLog: at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName)
    CompilerResultsLog: at UnrealBuildTool.UEBuildTarget.CreateTarget(TargetDescriptor Desc, String[] Arguments, Boolean bCompilingSingleFile)
    CompilerResultsLog: at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile)
    LogMainFrame: MainFrame: Module compiling took 0.789 seconds
    Warning: HotReload failed, recompile failed
    LogSlate: Took 0.006195 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf' (77K)

```

ShooterGame.uproject :

```
{
	"FileVersion": 3,
	"EngineAssociation": "4.17",
	"Category": "Samples",
	"Description": "",
	"Modules": [
		{
				"Name": "ShooterGame",
				"Type": "Runtime",
				"LoadingPhase": "Default",
				"AdditionalDependencies": [
					"MMT"
				]
		},
		{
			"Name": "ShooterGameLoadingScreen",
			"Type": "Runtime",
			"LoadingPhase": "PreLoadingScreen"
		}
	],
	"Plugins": [
		{
			"Name": "OnlineSubsystem",
			"Enabled": true
		},
		{
			"Name": "OnlineSubsystemUtils",
			"Enabled": true
		},
		{
			"Name": "OnlineSubsystemSteam",
			"Enabled": true
		},
		{
			"Name": "OnlineSubsystemPS4",
			"Enabled": true,
			"WhitelistPlatforms": [
				"PS4"
			]
		},
		{
			"Name": "OnlineSubsystemLive",
			"Enabled": true,
			"WhitelistPlatforms": [
				"XboxOne"
			]
		},
		{
			"Name": "OnlineSubsystemNull",
			"Enabled": true
		},
		{
			"Name": "SteamController",
			"Enabled": true
		}
	],
	"TargetPlatforms": [
		"MacNoEditor",
		"PS4",
		"WindowsNoEditor",
		"XboxOne",
		"Switch"
	],
	"EpicSampleNameHash": "3868556100"
}

```
