UE4无法编译项目。是否要在Visual Studio中打开

一开始是没装Visual Studio。安装完成后想创建C++项目出现如下报错。

无法编译该项目。要在Visual Studio中打开它吗?

Running E:/Epic Games/UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="E:/Epic Games/UE_4.27/UnrealProjects/我的项目4/我的项目4.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Creating makefile for ?ҵ???Ŀ4Editor (no existing makefile)

@progress push 5%

Parsing headers for ?ҵ???Ŀ4Editor

Running UnrealHeaderTool "E:\Epic Games\UE_4.27\UnrealProjects\?ҵ???Ŀ4\?ҵ???Ŀ4.uproject" "E:\Epic Games\UE_4.27\UnrealProjects\?ҵ???Ŀ4\Intermediate\Build\Win64\?ҵ???Ŀ4Editor\Development\?ҵ???Ŀ4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\86131\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed

LogInit: Display: Loading text-based GConfig....

E:/Epic Games/UE_4.27/UnrealProjects/????4/Source/????4/????4GameModeBase.h(1): Error: Missing UCLASS name

解决:创建项目不要使用中文名称!!!(可恶-_-)

猜你喜欢

转载自blog.csdn.net/qq_45881403/article/details/129371225