UE4报错:无法编译项目

目录

错误一:

[解决方案: 创建项目不使用中文名(路径也不要有中文名)](#解决方案: 创建项目不使用中文名(路径也不要有中文名))

错误二:

解决方案:VS一开始使用的是2022版,创建时它让下2019版,下完之后把2022版VS卸载就可以了(不知道为什么。。。)


错误一:

Running I:/Epic Game/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="I:/Epic Games Project/测试项目/测试项目.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

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

@progress push 5%

Parsing headers for ??????ĿEditor

Running UnrealHeaderTool "I:\Epic Games Project\??????Ŀ\??????Ŀ.uproject" "I:\Epic Games Project\??????Ŀ\Intermediate\Build\Win64\??????ĿEditor\Development\??????ĿEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\15620\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed

I:/Epic Games Project/????/Source/????/????GameModeBase.h(1): Error: Missing UCLASS name

解决方案: 创建项目不使用中文名(路径也不要有中文名)

错误二:

**Running I:/Epic Game/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="I:/Epic Games Project/TestProject/TestProject.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for TestProjectEditor (no existing makefile)
@progress push 5%
Parsing headers for TestProjectEditor
Running UnrealHeaderTool "I:\Epic Games Project\TestProject\TestProject.uproject" "I:\Epic Games Project\TestProject\Intermediate\Build\Win64\TestProjectEditor\Development\TestProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\15620\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
Reflection code generated for TestProjectEditor in 3.4640772 seconds
@progress pop
Building TestProjectEditor...
Using Visual Studio 2019 14.40.33812 toolchain (C:\VS??????\VC\Tools\MSVC\14.40.33807) and Windows 10.0.22621.0 SDK (E:\Windows Kits\10).
Building 9 actions with 32 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.ShadowErrors.cpp Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h I:\\Epic Game\\UE_4.26\\Engine\\Source\\Runtime\\Core\\Public\\Traits/IsContiguousContainer.h(6): fatal error C1083: ?޷??򿪰????ļ?: ??initializer_list??: No such file or directory** #### **解决方案:VS一开始使用的是2022版,创建时它让下2019版,下完之后把2022版VS卸载就可以了(不知道为什么。。。)**

相关推荐
一只一只5 小时前
Unity 3D笔记(进阶部分)——《B站阿发你好》
笔记·3d·unity·游戏引擎
AA陈超18 小时前
虚幻引擎5 GAS开发俯视角RPG游戏 P06-19 打开属性菜单
c++·游戏·ue5·游戏引擎·虚幻
向宇it19 小时前
【推荐100个unity插件】unity易于使用模块化设计的天空、体积云和天气系统——Enviro 3
游戏·3d·unity·c#·游戏引擎
怣疯knight1 天前
unity实现2D人物从上面踩踏敌人,敌人减血的简易方法(类似马里奥的攻击手段)
unity·游戏引擎
AA陈超2 天前
虚幻引擎5 GAS开发俯视角RPG游戏 P06-16 属性菜单 - 构建
c++·游戏·ue5·游戏引擎·虚幻
橙色云-智橙协同研发2 天前
PLM实施专家宝典:离散制造企业工程变更的“流程金融”方案
云原生·解决方案·plm·国产plm·产品服务·工程方案·工程变更
橙色云-智橙协同研发3 天前
PLM实施专家宝典:离散制造企业研发数据“数字基因”构建方案
经验分享·工厂方法模式·解决方案·数字化转型·plm·国产plm·plm方案
AA陈超3 天前
虚幻引擎5 GAS开发俯视角RPG游戏 P06-14 属性菜单 - 文本值行
c++·游戏·ue5·游戏引擎·虚幻
AA陈超4 天前
虚幻引擎5 GAS开发俯视角RPG游戏 P06-13 属性菜单 - 边框值
c++·游戏·ue5·游戏引擎·虚幻
shandianchengzi4 天前
【记录】Unity|Unity从安装到打开一个Github项目(以我的世界(仿)为例)
unity·c#·游戏引擎·github·我的世界·mc