User Tools

Site Tools


Build Development Environment for Gear VR in Unreal Engine 4

Keywords: Gear VR, Prerequisites The photo depicts the Unreal Engine GUI which allows you to develop our own VR software under Unreal Engine 4 (UE4). The big picture problem is install the UE4 and setup developing mode of smart phone. Solving this partially or completely is important because it is entry point to start the VR programming. This tutorial shows you how to setup the developing environment for Gear VR under UE4 and takes approximately one hours to complete.

Motivation and Audience

This tutorial's motivation is to setup the developing environment of Gear VR under the UE4. Readers of this tutorial assumes the reader has the following background and interests:

  • Know how to setup USB debugging mode of Note 4
  • Also know how to use tools of android SDK

The rest of the tutorial is presented as follows:

  • Parts List and Sources
  • Construction
  • Final Words

Parts List and Sources

US-based vendors to obtain material to complete this tutorial include (list relevant hyperlinks or phone numbers and addresses). To complete this tutorial, you'll need the following items.

TABLE 1: Parts needed to build

Galaxy Note4 Samsung N910H‑Wht $550      | 1 |
| Gear VR        | Samsung         | SM‑R322          |$99.99 1


This section gives step-by-step instructions along with photos to check the step is correct or not.

Step 1

Plug into a USB port on the PC you are developing on. The USB cord is of vital importance as this is how you transfer data between your development PC and your Smartphone.

Step 2

Download and install the specific USB drivers for your Galaxy Note 4 from the link.

Step 3

Download and Install Unreal Engine newest version from

Step 4

Install the Tegra Android Development Pack which can be found in Engine\Extras\Android

Step 5

Enable USB Debugging to ensure that you can load data onto your Smartphone from your PC.

Settings > About Phone > Build number > Tap it 7 times to become developer

Settings > Developer Options > USB Debugging

With your Smartphone plugged into your development PC via USB, make sure to accept the RSA Fingerprint key from your PC. This way your development PC and Smartphone can send data back and forth. Also make sure to check Always allow this computer to ensure that your development PC can always interact with this Smartphone when plugged in.

Step 6

Locate your device ID. Note that this is not your phone’s serial number. To retrieve your phone’s device ID, connect to your device via USB, open an OS shell or command window, and enter:

adb devices

You should see a list of attached devices like this:

List of devices attached
ce0551e7 device

Step 7

Generate and download the OSIG File for your Samsung Smartphone using your Smartphone's Device ID and the Oculus website.

Step 8

After you download the OSIG file, create a folder called assets and place the OSIG file inside of it. Then place that folder in Engine/Build/Android/Java. 
If you do not do this your project will not be able to run on your Galaxy Smartphone.

Final Words

This tutorial's objective was to prepare the developing environment for Gear VR under UE4. Complete (choose: construction details, source code and program descriptions) for developing Gear VR with UE4. Once the concepts were conveyed the reader could (fill in the blank). Speculating future work, derived from this tutorial, includes (fill in the blank). In the big picture, the problem of building the developing environment for Gear VR with UE4 can be solved with this tutorial. Click here to email me

build_developing_environment_for_gear_vr_under_the_unreal_engine_4.txt · Last modified: 2016/10/16 16:34 by dwallace