UE4之插件打包提示安装vs2017

2022-10-27  本文已影响0人  WOTTOW
image.png

发现在 UE4安装目录下找到
Engine/Bulid/BatchFiles/RunUAT.bat
修改
%UATExecutable% %* %UATCompileArg%
%UATExecutable% %* %UATCompileArg%

%UATExecutable% %* -VS2019=true %UATCompileArg%
就可以成功使用VS2019打包插件。


{
    "FileVersion": 3,
    "Version": 1,
    "VersionName": "1.0",
    "FriendlyName": "PlugCameraControl",
    "Description": "",
    "Category": "Other",
    "CreatedBy": "",
    "CreatedByURL": "",
    "DocsURL": "",
    "MarketplaceURL": "",
    "SupportURL": "",
    "EngineVersion": "4.25.0",
    "CanContainContent": true,
    "Installed": true,
    "Modules": [
        {
            "Name": "PlugCameraControl",
            "Type": "Runtime",
            "LoadingPhase": "Default",
            "WhitelistPlatforms": [
                "Win64"
            ]
        }
    ]
}
{
  "FileVersion": 3,
  "Version": 1,
  "VersionName": "",
  "FriendlyName": "CustomPlugins",
  "Description": "",
  "Category": "",
  "CreatedBy": "",
  "CreatedByURL": "",
  "DocsURL": "",
  "MarketplaceURL": "",
  "SupportURL": "",
  "CanContainContent": false,
  "IsBetaVersion": false,
  "IsExperimentalVersion": false,
  "Installed": false,
  "Modules": [
      {
          "Name": "CustomPlugins",
          "Type": "Runtime",
          "LoadingPhase": "PreLoadingScreen",
          "WhitelistPlatforms": [
              "Win64"
          ]
      },
      {
          "Name": "ImageExportEditor",
          "Type": "Editor",
          "LoadingPhase": "PostEngineInit",
          "WhitelistPlatforms": [
              "Win64"
          ]
      }
  ]
}

这是windows平台的,其他平台请修改对应的 .command 或者 .sh文件

上一篇 下一篇

猜你喜欢

热点阅读