Unity versions 5.1 and later provide built-in VR support for Rift, Oculus Go, and Samsung Gear VR. The optional Utilities unitypackage includes prefabs, C# scripts, sample scenes, and more to assist with development. For more information, see our Oculus Unity Developer Guide.
The Utilities package includes the most recent version of the Oculus OVRPlugin that is also included in the Unity Editor. When you import the Utilities package into a project, if the OVRPlugin included with Utilities is greater than the version in your Editor, a pop-up dialog will give you the option to update it. We recommend always using the latest-available OVRPlugin version.
For information on which versions of the Unity Editor are compatible with which versions of Utilities for Unity, please see Compatibility and Version Requirements.
Be sure to review our Downloads page for other useful tools to assist development, such as the Unity Sample Framework. For more information on Oculus resources for Unity developers, please see Other Oculus Resources for Unity Developers.
The Oculus Integration, available through the Unity Asset Store, provides several unityPackages in a single download, including our Utilities for Unity, Oculus Platform SDK Unity plugin, Oculus Avatar SDK Unity Plugin, Oculus Native Spatializer Plugin, and the Unity Sample Framework.
2017.1 is officially supported, and we recommend developers update to this version when convenient. Our support for 2017.2 is currently in beta, and we do not recommend shipping applications using it at this time. Our support for 2017.3 is in alpha and may be unstable. See the “Unity 2017” section of “Known Issues” below for more information.
In our Developer Blog article Introducing Stereo Shader Reprojection for Unity, we describe a new technique to optimize VR rendering by reprojecting rendered pixels from one eye to the other eye, and then filling in the gaps with an additional rendering pass. In pixel shader heavy scenarios, this technique can save 20% GPU cost per frame or more.