2025年5月5日月曜日

UWPビルドエラー unity selected visual studio is missing required components

 UnityでUWPビルドに失敗しました。

>Error building Player: BuildFailedException: Burst compiler (1.6.5) failed running

stdout:

Burst requires Visual Studio 2017 or greater (in addition, the following Visual Studio components need to be installed via the Visual Studio Installer: (1) the "Universal Windows Platform development" workload, (2) "C++ Universal Windows Platform support for vNNN build tools (ARM64)", (3) "MSVC vNNN - VS NNNN C++ ARM build tools (Latest)", and (4) "MSVC vNNN - VS NNNN C++ ARM64 build tools (Latest)") in order to build a standalone player for UWP with THUMB2_NEON32

Unable to find a valid linker at 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\arm\link.exe'

stderr:

build設定に以下の警告がありました。

unity selected visual studio is missing required components

解決方法

Visual Studio インストーラーを起動して「変更」から「.NET デスクトップ開発」「C++ によるデスクトップ開発」「ユニバーサル Windows プラットフォーム (UWP) の開発」「Unity によるゲーム開発」にチェックを入れる

インストール詳細にチェックする

  • USB接続
  • C++一番上
  • DirectX
  • Win11SDK
  • Win10SDK

変更ボタン押下する。

Windowsの設定の開発者モードをオンにする




0 件のコメント:

コメントを投稿