我的UE5.6项目卡在rc2.exe很长时间,甚至有时候根本打不开有什么办法能解决吗,我已经修改了%AppData%\Roaming\Unreal Engine\UnrealBuildTool的文件为如下代码
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<WindowsPlatform>
</WindowsPlatform>
<BuildConfiguration>
<bAllowUBA>false</bAllowUBA>
</BuildConfiguration>
</Configuration>
重启后依然没有效果。
在VisualStudio2022里面重建的结果代码是这样的,然后就卡住了
重新生成开始于 8:06...
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj (用时 20 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Oodle\EpicGames.Oodle.csproj (用时 30 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Mutable\Mutable.Automation.csproj (用时 137 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.OIDC\EpicGames.OIDC.csproj (用时 147 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Redis\EpicGames.Redis.csproj (用时 151 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.ProjectStore\EpicGames.ProjectStore.csproj (用时 170 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Plugins\ScriptPlugin\Source\ScriptGeneratorUbtPlugin\ScriptGeneratorUbtPlugin.ubtplugin.csproj (用时 42 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Perforce.Fixture\EpicGames.Perforce.Fixture.csproj (用时 187 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Intermediate\Build\BuildRulesProjects\MarketplaceRules\MarketplaceRules.csproj (用时 214 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\CrowdinLocalization\CrowdinLocalization.Automation.csproj (用时 61 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Android\Android.Automation.csproj (用时 110 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Intermediate\Build\BuildRulesProjects\UE5Rules\UE5Rules.csproj (用时 296 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Turnkey\Turnkey.Automation.csproj (用时 180 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\TVOS\TVOS.Automation.csproj (用时 191 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\LowLevelTests\LowLevelTests.Automation.csproj (用时 201 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\SteamDeck\SteamDeck.Automation.csproj (用时 252 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\SmartlingLocalization\SmartlingLocalization.Automation.csproj (用时 95 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Linux\Linux.Automation.csproj (用时 146 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\OneSkyLocalization\OneSkyLocalization.Automation.csproj (用时 67 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Scripts\AutomationScripts.Automation.csproj (用时 78 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Perforce\EpicGames.Perforce.csproj (用时 151 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Localization\Localization.Automation.csproj (用时 187 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.Automation.csproj (用时 196 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Intermediate\Build\BuildRulesProjects\UE5ProgramRules\UE5ProgramRules.csproj (用时 409 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Platforms\VisionOS\Source\Programs\AutomationTool\VisionOS.Automation.csproj (用时 206 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\LiveLinkHub\LiveLinkHub.Automation.csproj (用时 80 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\CookedEditor\CookedEditor.Automation.csproj (用时 134 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Mac\Mac.Automation.csproj (用时 121 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.AspNet\EpicGames.AspNet.csproj (用时 2 毫秒)。
未能还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj (用时 13 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Core\EpicGames.Core.csproj (用时 8 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Build\EpicGames.Build.csproj (用时 4 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Apple\Apple.Automation.csproj (用时 18 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj (用时 80 毫秒)。
未能还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj (用时 21 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Slack\EpicGames.Slack.csproj (用时 63 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Perforce.Managed\EpicGames.Perforce.Managed.csproj (用时 489 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.BuildGraph\EpicGames.BuildGraph.csproj (用时 80 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Serialization\EpicGames.Serialization.csproj (用时 14 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.MsBuild\EpicGames.MsBuild.csproj (用时 495 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Tracing\EpicGames.Tracing.csproj (用时 60 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.UBA\EpicGames.UBA.csproj (用时 97 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.IoHash\EpicGames.IoHash.csproj (用时 7 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Win\Win.Automation.csproj (用时 97 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\Insights\Insights.Automation.csproj (用时 97 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\IOS\IOS.Automation.csproj (用时 135 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\XLocLocalization\XLocLocalization.Automation.csproj (用时 103 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Horde\EpicGames.Horde.csproj (用时 10 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.UHT\EpicGames.UHT.csproj (用时 34 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.MongoDB\EpicGames.MongoDB.csproj (用时 30 毫秒)。
1>------ 已启动全部重新生成: 项目: EpicGames.UBA, 配置: Development Any CPU ------
2>------ 已启动全部重新生成: 项目: EpicGames.Oodle, 配置: Development Any CPU ------
3>------ 已启动全部重新生成: 项目: EpicGames.OIDC, 配置: Development Any CPU ------
4>------ 已启动全部重新生成: 项目: EpicGames.Core, 配置: Development Any CPU ------
已还原 E:\UnrealProjects\UGhostPark\Intermediate\Build\BuildRulesProjects\UGhostParkModuleRules\UGhostParkModuleRules.csproj (用时 157 毫秒)。
已还原 D:\Epic Games\UE_5.6\Engine\Source\Programs\AutomationTool\AutomationTool.csproj (用时 160 毫秒)。
NuGet 包还原失败。请查看“错误列表”窗口了解详细警告和错误。
2>EpicGames.Oodle -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Oodle\bin\Development\net8.0\EpicGames.Oodle.dll
1>EpicGames.UBA -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.UBA\bin\Development\net8.0\EpicGames.UBA.dll
4>EpicGames.Core -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Core\bin\Development\net8.0\EpicGames.Core.dll
5>------ 已启动全部重新生成: 项目: EpicGames.MsBuild, 配置: Development Any CPU ------
6>------ 已启动全部重新生成: 项目: EpicGames.IoHash, 配置: Development Any CPU ------
5>D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.MsBuild\EpicGames.MsBuild.csproj : warning NU1903: 包 "Microsoft.Build" 17.11.4 具有已知的 高 严重性漏洞,https://github.com/advisories/GHSA-w3q9-fxm7-j8fq
6>EpicGames.IoHash -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.IoHash\bin\Development\net8.0\EpicGames.IoHash.dll
7>------ 已启动全部重新生成: 项目: EpicGames.Serialization, 配置: Development Any CPU ------
5>EpicGames.MsBuild -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.MsBuild\bin\Development\net8.0\EpicGames.MsBuild.dll
5>已完成生成项目“EpicGames.MsBuild.csproj”的操作。
8>------ 已启动全部重新生成: 项目: EpicGames.Build, 配置: Development Any CPU ------
7>EpicGames.Serialization -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Serialization\bin\Development\net8.0\EpicGames.Serialization.dll
9>------ 已启动全部重新生成: 项目: EpicGames.Horde, 配置: Development Any CPU ------
8>EpicGames.Build -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Build\bin\Development\net8.0\EpicGames.Build.dll
10>------ 已启动全部重新生成: 项目: EpicGames.UHT, 配置: Development Any CPU ------
10>EpicGames.UHT -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.UHT\bin\Development\net8.0\EpicGames.UHT.dll
9>EpicGames.Horde -> D:\Epic Games\UE_5.6\Engine\Source\Programs\Shared\EpicGames.Horde\bin\Development\net8.0\EpicGames.Horde.dll
11>------ 已启动全部重新生成: 项目: UnrealBuildTool, 配置: Development Any CPU ------
11>UnrealBuildTool -> D:\Epic Games\UE_5.6\Engine\Source\Programs\UnrealBuildTool\bin\Development\UnrealBuildTool.dll
12>------ 已启动全部重新生成: 项目: UGhostPark, 配置: Development_Editor x64 ------
12>Using bundled DotNet SDK version: 8.0.300 win-x64
12>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UGhostParkEditor Win64 Development -Project="E:\UnrealProjects\UGhostPark\UGhostPark.uproject" -WaitMutex -FromMsBuild -architecture=x64 -Rebuild
12>Log file: C:\Users\83786\AppData\Local\UnrealBuildTool\Log.txt
12>Cleaning UGhostParkEditor binaries...
12>Creating makefile for UGhostParkEditor (no existing makefile)
12>Building UGhostParkEditor...
12>Using Visual Studio 2022 14.38.33145 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
12>Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
12> Executing up to 8 processes, one per physical core
12>Using Unreal Build Accelerator local executor to run 12 action(s)
12> Storage capacity 40Gb
12>---- Starting trace: 251227_080710_vs4788 ----
12>UbaServer - Listening on 0.0.0.0:1345
12>------ Building 12 action(s) started ------
12>[1/12] Resource Default.rc2
我也尝试过修改项目的 Config/DefaultEngine.ini文件也没有效果
[BuildSettings]
bUseUnrealBuildAccelerator=false
bUseUBTMakefiles=false
bAllowFASTBuild=false
我的编辑工具是MSVC14.38.33145,我猜测是UBA的问题,有没有人知道怎么办?