Skip to Main Content
Go to Penn Libraries homepage   Go to Guides homepage

Unity for Oculus Rift and Hololens: Unity Workshop Series

This guide provides basic information about using Unity to bring your 3D models into the Oculus Rift and Hololens

Workshop Requirements

For Android

  1. An Android Smart Phone

  2. Cord for Connecting your Phone to Your Computer (USB to MicroUSB/USB-C for example)

  3. Laptop


For iOS

  1. An apple device (iPhone, iPad, etc.) running iOS 9 or later

  2. A Mac running OS X 10.10.5 or later.

  3. Cord for Connecting your Phone to Your Computer (Lightning Cord for example)

  4. Check your Mac for XCode. If you have it, make sure it is version 9.X. If you do not have it or you have an older version, go to the app store and download/update Xcode.

  5. Register as an Apple developer at with your Apple ID. If you do not have an Apple ID, you must make one.

Workshop Prep

  1. Install Unity (this guide was written using Unity v. 2018.3.7).

    1. When installing, make sure you have Vuforia Augmented Reality and Visual Studio selected.

    2. For Android only: Also make sure the Android Build Support option is selected.

    3. For iOS only: Also make sure the iOS Build Support option is selected.

  2. Verify that Visual Studio installed with Game Development with Unity included.

    1. On your computer (start menu on Windows or Launchpad/Finder on Macs) , search for and open “Visual Studio Installer”

    2. Click Modify

    3. Under the Workloads tab, scroll down to Game development with Unity and make sure that it is already checked. If not, check it, and then click Modify in the lower right.

  3. Open Unity, create a Unity ID, and complete the usage questionnaire

  4. Create a new project (name it anything you want, make sure 3D is selected, and leave the rest of the fields as is). Close Unity after creating your project so the updates below will take effect.

  5. For Android only (iOS users, skip to step 6):

    1. Download and install the Java Development Kit 8 (under Java SE Development Kit 8u201) for your operating system. Click the file once it has finished downloading, and follow the installation guide. Note that there are 2 options for Windows. If you don’t know what your architecture is (x64 or x86), then ask for assistance with this step during the workshop!

    2. Go to the Android Studio website and choose Standard install. Download and install Android Studio and follow the instructions below. Keep in mind that Android Studio is a large program that will take time to download.

      1. After installation is complete, start Android Studio. During the initial start up, on the “Choose the type of setup you want for Android Studio” screen, choose Custom. Install any packages that are automatically selected, but make sure that Android SDK and Android SDK Platform are selected. This should ensure that on the “Verify Settings” screen, the Android SDK Platform-tools and Android SDK Build-tools options are both selected.

      2. Start the SDK manager after installation by choosing the Configure option (and then SDK manager) on the first splash screen. Make sure that the Android SDK Platform-tools and Android SDK Build-tools options are both installed (they will be under the SDK Tools tab) and install if not.

      3. Also make sure that you install Google USB Driver (or that it is already installed)

      4. If you are trying to install the Android packages but keep getting an error about temp folders not being created, close the manager and go to the Android-sdk folder on your computer. Right click the “SDK Manager” application file and select “Run as administrator.”

    3. Connect Android SDK & JDK to Unity

      1. Reopen Unity and select the project you created earlier

      2. In Unity, go to Edit > Preferences > External Tools (or Unity > Preferences > External Tools on a Mac) and point Unity to the file locations for the Android Tools (Android SDK) and Java Development Kit (JDK) you just installed (when you click “Browse” next to SDK or JDK, Unity should automatically detect your installed files)

  6. For iOS only (Android users, skip to step 7):

    1. Reopen Unity and select the project you created earlier, go to File > Build Settings

    2. Select the iOS platform. Then click “Switch Platform” in the bottom left of the Build Settings window. This might take a few minutes.

    3. Then click the “Player Settings” button in the bottom left. This will open up in the Inspector on the right.

    4. Click on the tab that looks like an iPhone. These are the iOS settings.

    5. Go to Other Settings and find the Identification section.

    6. Find the “Bundle Identifier” option and replace it with your identifier. This can be anything you want, but it must be of the form “com.XXX.YYY,” for example, “com.YourName.AppName.”

  7. Create a Vuforia account at this address: (Click Register)

  8. Download models listed under the Models section of the sidebar on the right. You only need to select 1 target and 1 hologram.

Penn Libraries Home Franklin Home
(215) 898-7555