Language:
Page Info
Tags:
Skill Level:
Engine Version:

2. Gear VR Project Setup

Choose your OS:

In the following part of the Gear VR Quick Start, we will go over setting up an Unreal Engine 4 (UE4) project so that it can be used with the Gear VR HMD.

Steps

  1. Once the UE4 Editor has loaded, go to the Main Toolbar and select Edit > Plugins to open up the Plugin Menu. From the Plugin Menu, choose the Virtuality Reality section and make sure that the OculusVR Plugin is enabled.

    Click for full image.

    In previous versions of UE4 Gear VR had its own plugin that needed to be enabled. If you are not able to use Gear VR with the version of UE4 you are using, make sure to check the VR plugins section and enable the Gear VR plugin if it is available.

  2. For any UE4 project to run when it is deployed to a device, you will need to have at least one level saved. To keep the current level go to the Toolbar and press the Save icon to save the current level, giving it a name of GearVRQSMap.

    Click for full image.

  3. Next, from the Main Menu go to, Edit > Project Settings and then under Project in the Maps & Modes section under Default Maps input the map that was just saved in the Editor Start Up and Game Default Map.

    Click for full image.

  4. Now, go to Engine > Input and in the Mobile section, set the Default Touch Interface to None by clicking on the Default Touch Interface input box and selecting None from the drop down.

    Click for full image.

  5. Then in Platforms under Android go to the ApkPackaging section and press the Configure Now button then set the following settings:

    Click for full image.

    • Minimum SDK Version: 19

    • Target SDK Version: 19

    • Enable FullScreen Immersive on KitKat and above devices: True

  6. Next, go to the Advanced APKPackaging section and enable the, Configure the AndroidManifest for deployment to GearVR check mark box.

    Click for full image.

  7. Now, click on the Android SDK section and make sure that Android SDK tools that are needed to build your project point to the correct folder on your PC.

    Click for full image.

End Result

When completed you will now have a UE4 project that is ready to be deployed and viewed with your Gear VR HMD.

Tags