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卸载就可以了(不知道为什么。。。)**

相关推荐
一个笔记本6 小时前
godot log | 修改main scene
游戏引擎·godot
nnsix7 小时前
Unity PicoVR开发 实时预览Unity场景 在Pico设备中(串流)
unity·游戏引擎
一只一只13 小时前
Unity之UGUI Button按钮组件详细使用教程
unity·游戏引擎·ugui·button·ugui button
神米米15 小时前
Maya快速安装UE4 布料权重绘制插件PhysX导出apx
游戏引擎·ue4·maya
WarPigs16 小时前
Unity阴影
unity·游戏引擎
一只一只17 小时前
Unity之Invoke
unity·游戏引擎·invoke
技术小甜甜18 小时前
【Godot】【入门】信号系统从 0 到 1(UI/玩法彻底解耦的通用写法)
ui·游戏引擎·godot
技术小甜甜20 小时前
【Godot】【入门】节点生命周期怎么用(避免帧循环乱写导致卡顿的范式)
游戏引擎·godot
tealcwu20 小时前
【Unity踩坑】Simulate Touch Input From Mouse or Pen 导致检测不到鼠标点击和滚轮
unity·计算机外设·游戏引擎
ThreePointsHeat20 小时前
Unity WebGL打包后启动方法,部署本地服务器
unity·游戏引擎·webgl