[4.22.1] Fatal Error C1083: Invalid Argument

Every time I try to create a C++ project I get this.

Running C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“C:/Users/박준/Documents/Unreal Projects/Test/Test.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE

Creating makefile for TestEditor (no existing makefile)

@progress push 5%

Parsing headers for TestEditor

Running UnrealHeaderTool “C:\Users???\Documents\Unreal Projects\Test\Test.uproject” “C:\Users???\Documents\Unreal Projects\Test\Intermediate\Build\Win64\TestEditor\Development\TestEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed

Reflection code generated for TestEditor in 8.4315019 seconds

@progress pop

Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).

Building 9 actions with 8 processes…

@progress ‘Compiling C++ source code…’ 0%

@progress ‘Compiling C++ source code…’ 11%

[1/9] Default.rc2

@progress ‘Compiling C++ source code…’ 22%

[2/9] SharedPCH.Engine.cpp

c1xx: fatal error C1083: ???Ϸ? ?߰? ??? ??? ?? ?? ???ϴ?. ‘C:\Users\박??\Documents\Unreal Projects\Test\Intermediate\Build\Win64\TestEditor\Development\Engine\SharedPCH.Engine.h.pch’: Invalid argument

And it asks me to open it in Visual Studio.
How can I fix this?

Never mind, sovled it.
I just formatted my computer and it works.

I can’t format my computer. I did a clean install and did a set-up of my other environments. Unreal Engine is the only one which is not working.

Hi, i have the same problem. And i found that both of us have non-english character in the path. And i changed the project directory and avoid the “Invalid Argument” bug. Wish you can solve your problem through this way.