For rapid testing in your headset, you can enable Virtual Reality support in your Unity project.
-
Select the
Window > Package Manager…
menu option from the top-level Unity application menu. -
When the pop-up window appears, select the
XR Plugin Management
package, and click on theInstall
button at the bottom. -
Select the
Edit > Project Settings…
menu option from the top-level Unity application menu. -
When the pop-up window appears, select to highlight the
XR Plug-in Management
setting from the list on the left. -
In the
XR Plug-in Management
pane, ensure thatInitialize XR on Startup
is checked. -
Select the
Plug-in Provider
matching your headset.