Installare gli strumentiInstall the tools

Acquisisci gli strumenti necessari per creare applicazioni per visori VR immersive di Windows Mixed Reality e Microsoft HoloLens.Get the tools you need to build applications for Microsoft HoloLens and Windows Mixed Reality immersive (VR) headsets. Non è disponibile un SDK separato per lo sviluppo Windows Mixed Reality. Userai Visual Studio con Windows 10 SDK.There is no separate SDK for Windows Mixed Reality development; you'll use Visual Studio with the Windows 10 SDK.

Non disponi di un dispositivo di realtà mista?Don't have a mixed reality device? Puoi installare l'emulatore di HoloLens per testare alcune funzionalità delle app di realtà mista senza HoloLens.You can install the HoloLens emulator to test some functionality of mixed reality apps without a HoloLens. Puoi anche usare il simulatore Windows Mixed Reality per testare le tue app di realtà mista per visori VR immersive.You can also use the Windows Mixed Reality simulator to test your mixed reality apps for immersive headsets. Se si usa Unity, è possibile usare la simulazione di input di Mixed Reality Toolkit (MRTK) per testare vari tipi di interazioni di input, ad esempio attraverso il tracciamento della mano e il tracciamento oculare.If you're using Unity, you can use Mixed Reality Toolkit (MRTK)'s input simulation to test various types of input interactions such as hand-tracking and eye-tracking input.

Il modo più semplice per iniziare a creare app di realtà mista consiste nell'installare il motore di gioco Unity.We recommend installing the Unity game engine as the easiest way to get started creating mixed reality apps. Se invece vuoi usare un motore personalizzato, puoi anche creare app in DirectX.However, you can also build against DirectX if you'd like to use a custom engine.

Suggerimento

Contrassegna questa pagina e controllala periodicamente per tenerti aggiornato sulla versione più recente di ogni strumento consigliato per lo sviluppo della realtà mista.Bookmark this page and check it regularly to keep up-to-date on the most recent version of each tool recommended for mixed reality development.


Elenco di controllo per l'installazioneInstallation checklist

StrumentoTool NoteNotes
Logo di WindowsWindows logo

Windows 10 (collegamento per l'installazione manuale)Windows 10 (Manual install link)

Installa la versione di Windows 10 più recente in modo che il sistema operativo del PC corrisponda alla piattaforma per cui stai creando applicazioni di realtà mista.Install the most recent version of Windows 10 so your PC's operating system matches the platform for which you're building mixed reality applications.
Installazione di Windows 10Installing Windows 10
Puoi installare la versione di Windows 10 più recente tramite Windows Update in Impostazioni oppure creando supporti di installazione, usando il collegamento nella colonna sinistra.You can install the most recent version of Windows 10 via Windows Update in Settings or by creating installation media, using the link in the left column.

Vedi le note sulla versione aggiornate per informazioni sulle funzionalità di realtà mista più recenti disponibili con ogni versione di Windows 10.See current release notes for information about the newest mixed reality features available with each release of Windows 10. Abilita la modalità sviluppatore nel PC in Impostazioni > Aggiornamento e sicurezza > Per sviluppatori.Enable developer mode on your PC at Settings > Update & Security > For developers.

Nota per computer aziendali e gestiti a livello aziendaleNote for enterprise and corporate-managed PCs
Se il computer è gestito dal reparto IT di un'organizzazione, potrebbe essere necessario contattare il reparto per eseguire l'aggiornamento.If your PC is managed by an your organization's IT department, you might need to contact them in order to update.

Versioni 'N' di Windows'N' versions of Windows
i visori VR immersive di Windows Mixed Reality non sono supportati nelle versioni "N" di Windows.Windows Mixed Reality immersive (VR) headsets are not supported on 'N' versions of Windows.
Immagine del logo di Visual StudioVisual Studio logo image

Visual Studio 2019 (16.2 o versione successiva) (collegamento per l'installazione)Visual Studio 2019 (16.2 or higher) (Install link)

Ambiente di sviluppo integrato con funzionalità complete per Windows e altro ancora.Fully-featured integrated development environment (IDE) for Windows and more. Visual Studio verrà usato per scrivere il codice ed eseguire il debug, i test e la distribuzione.You'll use Visual Studio to write code, debug, test, and deploy.
Installazione di Visual Studio 2019Installing Visual Studio 2019
Assicurati di installare i carichi di lavoro seguenti:Be sure you install the following workloads:

● Sviluppo per desktop con C++● Desktop development with C++
● Sviluppo per la piattaforma UWP (Universal Windows Platform)● Universal Windows Platform (UWP) development

Nel carico di lavoro della piattaforma UWP assicurati di selezionare il componente facoltativo seguente se prevedi di sviluppare per HoloLens:Within the UWP workload, be sure to check the following optional component if you'll be developing for HoloLens:

● Connettività dispositivi USB● USB Device Connectivity

Nota su UnityNote about Unity
a meno che non si stia intenzionalmente tentando di installare una versione più recente (non LTS) di Unity per uno scopo specifico, è consigliabile non installare il carico di lavoro Unity come parte dell'installazione di Visual Studio e installare invece il flusso Unity 2019 LTS come indicato di seguito.Unless you're intentionally trying to install a newer (non-LTS) version of Unity for a specific purpose, we recommend not installing the Unity workload as part of Visual Studio installation, and instead install the Unity 2019 LTS stream as noted below.

Problemi notiKnown issues
esistono alcuni problemi noti relativi al debug di app di realtà mista in Visual Studio 2019 versione 16.0.There are some known issues with debugging mixed reality apps in Visual Studio 2019 version 16.0. Assicurati di eseguire l'aggiornamento a Visual Studio 2019 versione 16.2 o successiva.Please ensure that you update to Visual Studio 2019 version 16.2 or higher.
Logo di WindowsWindows logo

Windows 10 SDK (10.0.18362.0) (collegamento per l'installazione manuale)Windows 10 SDK (10.0.18362.0) (Manual install link)

Include le intestazioni, le librerie, i metadati e gli strumenti più recenti per la creazione di app di Windows 10 in HoloLens 2.Provides the latest headers, libraries, metadata, and tools for building Windows 10 apps on HoloLens 2.
Per creare app HoloLens 2, è necessario installare Windows SDK, build 18362 o versioni successive.To build HoloLens 2 apps, you must install the Windows SDK, build 18362 or later.

Se sviluppi solo applicazioni per visori VR di Windows Mixed Reality desktop o per HoloLens (prima generazione), puoi usare Windows SDK installato da Visual Studio 2017.If you are only developing applications for desktop Windows Mixed Reality headsets or HoloLens (1st gen), you can use the Windows SDK installed by Visual Studio 2017.
Logo di Visual StudioVisual Studio logo

Emulatore HoloLens 2 (Windows Holographic, versione 2004, aggiornamento di ottobre 2020) (collegamento di installazione: 10.0.19041.1124)HoloLens 2 Emulator (Windows Holographic, version 2004 October 2020 Update) (Install link: 10.0.19041.1124)

Emulatore HoloLens (prima generazione) (collegamento per l'installazione: 10.0.17763.134)HoloLens (1st gen) Emulator (Install link: 10.0.17763.134)

L'emulatore permette di eseguire le applicazioni in un'immagine di macchina virtuale HoloLens senza un dispositivo HoloLens fisico.The emulator lets you run applications on a HoloLens virtual machine image without a physical HoloLens.

Vedi Uso dell'emulatore di HoloLens per altre informazioni su come iniziare a usare l'emulatore.See Using the HoloLens emulator for more information on getting started with the emulator.

Il sistema deve supportare Hyper-V per garantire un'installazione corretta dell'emulatore.Your system must support Hyper-V for the emulator installation to succeed. Vedi più avanti la sezione relativa ai requisiti di sistema per i dettagli.Reference the System Requirements section below for details.

Nota sull'emulatore HoloLens (prima generazione)Note on HoloLens (1st gen) Emulator
Per completare correttamente l'installazione, è necessario Visual Studio 2017.Visual Studio 2017 is required to successfully complete the installation. Se si sta installando l'emulatore HoloLens (prima generazione) con Visual Studio 2019, è necessario deselezionare i modelli di Visual Studio e aggiungerli manualmente in un secondo momento.If you're installing the HoloLens (1st gen) emulator with Visual Studio 2019 you need to deselect the VS templates and manually add them later on.

Scegli il motoreChoose your engine

Dopo aver predisposto Windows 10, Visual Studio e Windows 10 SDK, è possibile scegliere un motore per la compilazione.Now that you have your Windows 10, Visual Studio, and Windows 10 SDK ready to go, let's choose an engine to build on.

Unity logo banner

1. Download the latest version

We recommend the Unity LTS (Long Term Support) stream as the best version to use when starting new projects, updating to its latest revision to pick up the latest stable fixes.

  • The current recommendation is to use Unity 2019, which is the LTS build required for MRTK v2 below.
  • If you need to use a different version of Unity for specific reasons, Unity supports side-by-side installs of different versions.

2. Import Mixed Reality Toolkit (MRTK)

MRTK

Mixed Reality Toolkit (MRTK) is an open-source, cross-platform development kit for mixed reality applications. MRTK provides a cross-platform input system, foundational components, and common building blocks for spatial interactions. The toolkit is intended to accelerate the development of applications targeting Microsoft HoloLens, Windows Mixed Reality immersive (VR) headsets, and the OpenVR platform.

For installation, we recommend completing the Getting Started section of our curated Unity development journey. If you're already following the Unity development journey, finish up the rest of the setup steps listed below and continue on to the HoloLens 2 Getting Started tutorials.

Importante

Note that installation instructions are targeted for the latest stable combination of MRTK and Unity releases, which are MRTK 2.4.0 and Unity 2019.3.15.

Nota

If you don't want to use MRTK for Unity, you'll need to script all interactions and behaviors yourself.

Other tools [optional]

3. Set up your PC for Mixed Reality development

The Windows 10 SDK works best on the Windows 10 operating system. This SDK is also supported on Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2. Note that not all tools are supported on older operating systems.

Nota

You can develop and deploy your apps for HoloLens, VR immersive headsets, or both. Make sure you fulfill the requirements below depending on your needs.

For HoloLens development

When setting up your development PC for HoloLens development, please make sure it meets the system requirements for both Unity and Visual Studio. If you plan on using the HoloLens emulator, you'll want to make sure your PC meets the HoloLens emulator system requirements as well.

To get started with the HoloLens emulator, see Using the HoloLens emulator.

If you plan to develop for both HoloLens and Windows Mixed Reality immersive (VR) headsets, use the system recommendations and requirements in the section below.

Immersive (VR) headset requirements

Nota

The following guidelines are the current minimum and recommended specs for your immersive (VR) headset development PC, and are updated regularly.

Avviso

Do not confuse this with the minimum PC hardware compatibility guidelines, which outlines the consumer PC specs to which you should target your immersive (VR) headset app or game.

If your immersive headset development PC does not have full-sized HDMI and/or USB 3.0 ports, you'll need adapters to connect your headset.

There are currently known issues with some hardware configurations, particularly notebooks that have hybrid graphics.

Minimum Recommended
Processor Notebook: Intel Mobile Core i5 7th generation CPU, Dual-Core with Hyper Threading Desktop: Intel Desktop i5 6th generation CPU, Dual-Core with Hyper Threading OR AMD FX4350 4.2Ghz Quad-Core equivalent Desktop: Intel Desktop i7 6th generation (6 Core) OR AMD Ryzen 5 1600 (6 Core, 12 threads)
GPU Notebook: NVIDIA GTX 965M, AMD RX 460M (2GB) equivalent or greater DX12 capable GPU Desktop: NVIDIA GTX 960/1050, AMD Radeon RX 460 (2GB) equivalent or greater DX12 capable GPUDesktop: NVIDIA GTX 980/1060, AMD Radeon RX 480 (2GB) equivalent or greater DX12 capable GPU
GPU driver WDDM version WDDM 2.2 driver
Thermal Design Power 15W or greater
Graphics display ports 1x available graphics display port for headset (HDMI 1.4 or DisplayPort 1.2 for 60Hz headsets, HDMI 2.0 or DisplayPort 1.2 for 90Hz headsets)
Display resolution Resolution: SVGA (800x600) or greater Bit depth: 32 bits of color per pixel
Memory 8 GB of RAM or greater 16 GB of RAM or greater
Storage >10 GB additional free space
USB Ports 1x available USB port for headset (USB 3.0 Type-A) Note: USB must supply a minimum of 900mA
Bluetooth Bluetooth 4.0 (for accessory connectivity)

If you're new to MRTK development with Unity, we recommend following our curated Unity development journey:

Next Development Checkpoint

If you're following the Unity development checkpoint journey we've laid out, your next task is to work through our HoloLens 2 tutorial series.

You can always go back to the Unity development checkpoints at any time.