Unity
Note: you are currently viewing documentation for a beta or an older version of Varjo
This page describes how you can set up and use the Unity development environment for the Varjo headset. Please make sure you have read Difference between SteamVR™ and Varjo Base before beginning development.
If you want to know more about generic Unity development and practices, we recommend checking the development basics with Unity’s Documentation and Tutorials.
Requirements
To set up the Unity environment, the following are required:
- Make sure your computer meets system requirements
- Varjo Base
- SteamVR app
- Unity 2018.2.0f2 or newer
- Unity software set with Windows Build Support
- Project using DirectX11 (OpenGL/Vulkan/DX12 currently are not supported)
- Varjo Unity Plugin
- Varjo headset (optional)
Getting started
The Getting started section will guide you through downloading and installing the Varjo plugin for Unity.
Using the Varjo Plugin for Unity
This section will explain how to set up the plugin and make sure your build is working correctly with the Varjo headset. Refer to “Creating a new Unity project” for new projects and “Updating an existing Unity project” for existing project migration.
Examples
Examples can be downloaded from the Downloads page. They are fully optional. Explanations of the examples can be found on the Unity Examples page.
Making a build
Making a build for the Varjo headset is no different than creating any other VR build. For further instructions refer to the Unity documentation. Note: Only 64-bit builds are supported by Varjo headsets.
Developing without the Varjo headset
On the Developing without Varjo headset page you can find information on how to test your build without the Varjo headset.