ue5吧 关注:3,530贴子:6,228
  • 9回复贴,共1

大佬帮帮忙 我的UE5 M4打包失败

只看楼主收藏回复

用其他没有添加M4的工程关卡测试过 可以正常打包出来 但是一用M4就打包失败了 直接用网上下载的M4里自带的关卡测试 打包也失败了


IP属地:广东1楼2024-05-15 11:22回复
    楼下是用的M4自带的工程关卡(Island_Demo)打包的输出日志


    IP属地:广东2楼2024-05-15 11:24
    回复
      LogUObjectHash: Compacting FUObjectHashTables data took 0.51ms
      LogTurnkeySupport: Project requires temp target (已启用Landmass插件)
      LogLauncherProfile: Unable to use promoted target - E:/MagicMapMaterial/Binaries/Win64/UnrealGame.target does not exist.
      LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""D:/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="E:/MagicMapMaterial/MagicMapMaterial.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=55868 -project="E:/MagicMapMaterial/MagicMapMaterial.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="E:/MagicMapMaterial/MagicMapMaterial.uproject" -unrealexe="D:\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compresse
      d -prereqs -archivedirectory="E:/WORK/UE/Output" -clientconfig=Shipping -nodebuginfo" -nocompile -nocompileuat ]
      UATHelper: 打包 (Windows): Running AutomationTool...
      UATHelper: 打包 (Windows): Using bundled DotNet SDK version: 6.0.302
      UATHelper: 打包 (Windows): Starting AutomationTool...
      UATHelper: 打包 (Windows): Parsing command line: -ScriptsForProject=E:/MagicMapMaterial/MagicMapMaterial.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=55868 -project=E:/MagicMapMaterial/MagicMapMaterial.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=E:/MagicMapMaterial/MagicMapMaterial.uproject -unrealexe=D:\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=E:/WORK/UE/Output -clientconfig=Shipping -
      nodebuginfo -nocompile -nocompileuat
      UATHelper: 打包 (Windows): Initializing script modules...
      UATHelper: 打包 (Windows): Total script module initialization time: 0.16 s.
      UATHelper: 打包 (Windows): Executing commands...
      UATHelper: 打包 (Windows): Installed Sdk validity:
      UATHelper: 打包 (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.18362.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags="InstalledSdk_ValidVersionExists, Sdk_HasBestVersion")
      UATHelper: 打包 (Windows): Scanning for envvar changes...
      UATHelper: 打包 (Windows): ... done!
      UATHelper: 打包 (Windows): Cleaning Temp Paths...
      UATHelper: 打包 (Windows): BUILD SUCCESSFUL
      UATHelper: 打包 (Windows): Setting up ProjectParams for E:\MagicMapMaterial\MagicMapMaterial.uproject
      UATHelper: 打包 (Windows): ********** BUILD COMMAND STARTED **********
      UATHelper: 打包 (Windows): Running: D:\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MagicMapMaterial Win64 Shipping -Project=E:\MagicMapMaterial\MagicMapMaterial.uproject -Manifest=E:\MagicMapMaterial\Intermediate\Build\Manifest.xml -remoteini="E:\MagicMapMaterial" -skipdeploy -log="C:\Users\M0019\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\UBT-MagicMapMaterial-Win64-Shipping.txt"
      UATHelper: 打包 (Windows): Log file: C:\Users\M0019\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\UBT-MagicMapMaterial-Win64-Shipping.txt
      UATHelper: 打包 (Windows): Creating makefile for MagicMapMaterial (no existing makefile)
      UATHelper: 打包 (Windows): Total execution time: 0.41 seconds
      UATHelper: 打包 (Windows): Microsoft platform targets must be compiled with Visual Studio 2022 17.4 (MSVC 14.34.x) or later for the installed engine. Please update Visual Studio 2022 and ensure no configuration is forcing WindowsTargetRules.Compiler to VisualStudio2019. The current compiler version was detected as: 14.29.30154
      UATHelper: 打包 (Windows): Took 0.51s to run dotnet.exe, ExitCode=6
      UATHelper: 打包 (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\M0019\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\UBT-MagicMapMaterial-Win64-Shipping.txt)
      UATHelper: 打包 (Windows): AutomationTool executed for 0h 0m 2s
      UATHelper: 打包 (Windows): AutomationTool exiting with ExitCode=6 (6)
      UATHelper: 打包 (Windows): BUILD FAILED
      PackagingResults: Error: Unknown Error


      IP属地:广东3楼2024-05-15 11:24
      收起回复
        UE是5.3版本 M4换了几个版本都失败了


        IP属地:广东4楼2024-05-15 11:29
        回复
          Microsoft platform targets must be compiled with Visual Studio 2022 17.4 (MSVC 14.34.x) or later for the installed engine. Please update Visual Studio 2022 and ensure no configuration is forcing WindowsTargetRules.Compiler to VisualStudio2019.


          IP属地:吉林5楼2024-05-15 12:24
          收起回复


            IP属地:广东6楼2024-05-15 15:07
            回复


              IP属地:吉林7楼2024-05-15 20:48
              回复