Importing the Oculus Utilities Package

Oculus Utilities for Unity is an optional Unity Package that includes scripts, prefabs and other resources to assist with development.

To import Oculus Integration for Unity into your project, perform the following steps:

1. Manually Delete any Previous Versions

If you have previously imported another version of the Integration or Utilities package into your project, delete the following Oculus content from your Unity project folder before importing a new version:

Note: Be sure to close the Unity Editor before proceeding.

Folder

Content to Delete

Assets/Plugins

Oculus.*

OVR.*

Assets/Plugins/Android/

*Oculus*

AndroidManifest.xml

*vrapi*

*vrlib*

*vrplatlib*

Assets/Plugins/x86/

Oculus.*

OVR.*

Assets/Plugins/x86_64/

Oculus.*

OVR.*

2. Open or Create a Unity Project

If you're already working in a Unity project, save your work before importing. Otherwise, create a new project:

  1. From the Unity menu, select File > New Project.
  2. Click the Browse button and select the folder where the Unity project will be located.
  3. Make sure that the Setup defaults for: field is set to 3D.
  4. Click the Create button.

3. Import the Unity Package

The latest Oculus Integration for Unity is available in the Unity Asset Store. Download the package from the Oculus Integration page, or by searching for Oculus Unity Integration in the Asset Store tab of the Unity Editor.

When the Importing package dialog opens, leave all of the boxes checked and select Import.

4. Update OVRPlugin (Optional)

The Oculus OVRPlugin provides built-in Editor support and some additional features. The latest version is included in the Utilities for Unity package, and if it is later than the detected version in the Editor, you're given the option to automatically update your project. We always recommend using the latest version.