From 85cee13afd5d4e0e03fe83a15c5d8184614a1e9d Mon Sep 17 00:00:00 2001 From: donghaiwang Date: Thu, 27 Aug 2026 21:46:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BC=95=E6=93=8E=E4=BA=A4=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考:更新了InstalledEngineBuild,默认情况下使用VS2026,并提供了首选VS2022的选项 https://github.com/GapingPixel/UnrealEngineVite-PhysX/commit/db0f9af647367eead1899bf2585317dac413c025 在为目标平台构建插件时,将-2017参数传递给编译器。可以用-VS2019参数覆盖。 https://github.com/GapingPixel/UnrealEngineVite-PhysX/commit/2a060199590a6e7a181ad345ab44851af096bcbc --- .github/workflows/build_self_hosted.yml | 5 ++++ Engine/Build/InstalledEngineBuild.xml | 8 ++--- .../Scripts/BuildPluginCommand.Automation.cs | 11 +++---- RunUAT.bat | 29 +++++++++++++++++++ 4 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 RunUAT.bat diff --git a/.github/workflows/build_self_hosted.yml b/.github/workflows/build_self_hosted.yml index dfe66cdd3..0195964da 100644 --- a/.github/workflows/build_self_hosted.yml +++ b/.github/workflows/build_self_hosted.yml @@ -24,6 +24,11 @@ jobs: call Build.bat --git-code T8w6TYB_r71gGTP3A02B shell: cmd + - name: install + run: | + call RunUAT.bat + shell: cmd + - uses: mickem/clean-after-action@v1 - name: Delete .git folder diff --git a/Engine/Build/InstalledEngineBuild.xml b/Engine/Build/InstalledEngineBuild.xml index b3bde84d0..24202695e 100644 --- a/Engine/Build/InstalledEngineBuild.xml +++ b/Engine/Build/InstalledEngineBuild.xml @@ -75,8 +75,8 @@