The project could not be compiled. Would you like to open it in Visual Studio

When I create a c++ project this error message pops up.
The project is created but cannot be compiled. How do I fix this error?

Running C:/Program Files/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="C:/Users/조원주/Documents/Unreal Projects/내프로젝트7/내프로젝트7.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for ????????Ʈ7Editor (no existing makefile)
@progress push 5%
Parsing headers for ????????Ʈ7Editor
  Running UnrealHeaderTool "C:\Users\??????\Documents\Unreal Projects\????????Ʈ7\????????Ʈ7.uproject" "C:\Users\??????\Documents\Unreal Projects\????????Ʈ7\Intermediate\Build\Win64\????????Ʈ7Editor\Development\????????Ʈ7Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\??????\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
C:/Users/???/Documents/Unreal Projects/?????7/Source/?????7/?????7Character.h(1): Error: Class 'A' must inherit UObject or a UObject-derived class
C:/Users/???/Documents/Unreal Projects/?????7/Source/?????7/?????7GameMode.h(1): Error: Class 'A' must inherit UObject or a UObject-derived class
C:/Users/???/Documents/Unreal Projects/?????7/Source/?????7/?????7HUD.h(1): Error: Class 'A' must inherit UObject or a UObject-derived class
C:/Users/???/Documents/Unreal Projects/?????7/Source/?????7/?????7Projectile.h(1): Error: Class 'A' must inherit UObject or a UObject-derived class

Issue is for 100% caused by file path encoding as you got Korean symbols in path which mess ups which causes build tools to not find the files, put project (just copy paste it and run uproject file) to directory that does not have korean symbols

It works now. Thank you! bb