选定的 Visual Studio 缺少必需的组件,可能无法构建生成项目

Lil*_*mas 1 unity-game-engine visual-studio

构建一个简单的Unity项目“hello world”,Unity说我:

选定的 Visual Studio 缺少必需的组件,可能无法构建生成项目

¿知道为什么会收到这条消息吗?

在此处输入图片说明

小智 8

Give this a try:

  1. Open the Visual Studio 2017 Installer
  2. Click "Modify"
  3. Select and install the optional Package C++ Universal Windows Platform tools from Universal Windows Platform development

在此处输入图片说明

Hope this helps!

  • 这对运行 Unity 2019.4.0f1 和 Visual Studio 2019 的我有用。 (2认同)