Unreal Plugin Getting Started

The Wave Unreal SDK provides a plugin for Unreal content. The Unreal contents can manipulate the poses of the head and controller objects by enabling the Wave Unreal SDK.

We assume that you have basic knowledge on how to develop an Android app using the Unreal Engine editor and C++ language.

Go to Sample - VRTestApp if you want to try the sample first.

Contents

Prepare your development environment

Android is the target platform of VIVE Wave™, so make sure you already know How to set Unreal Android build environment and package apk.

As the Wave Unreal SDK has not been officially integrated with Unreal Engine, you can do so following the below:

  1. Download Unreal SDK from https://developer.vive.com/resources/vive-wave/download/latest/. Please note that the zip file wave_<SDK_Version>_<UE_Version>.zip is a sample project with WaveSDK.
  2. Copy and paste plugin\Plugins\WaveVR to <Your Project Folder>\Plugins\ such as <Your Project Folder>\Plugins\WaveVR (Create a directory named “Plugins” if the project doesn’t have.)
  3. Double-click <Your project>.uproject to launch the project.

Project Settings

Make sure the following options have been set.

  1. Select “Start in VR”.
../_images/StartInVR.png
  1. Refer to these Android build Settings. For more information, see Setup Android SDK and NDK. For JDK, it is recommended to install jdk1.8.0.
../_images/AndroidSDKForRef.png
  1. We recommend setting Minimum SDK Version as 25 and Target SDK Version as 29. For more information, see Wave VR Version List.
../_images/AndroidSDKVersion.png
  1. Disable Support Vulkan.
../_images/DisableSupportVulkan.png

Plugin Settings

Make sure VIVE Wave™ is the only VR plugin enabled. Turn off all other VR plugins (especially OculusVR and SteamVR) to prevent conflicts. You can do this in <EditorMenu>->Edit->Plugins->VirtualReality

../_images/ConfirmPlugins.png

How to set up Camera

In Unrel Engine, you can manually create a VRPawn to set up a camera on it.

To achieve our all functions, we strongly recommend you to use WaveVR_Pawn. This can be found in WaveVR Content\Blueprints\WaveVR_Pawn.

How to Manipulate Device on Windows

Vysor is a third-Party software to let you manipulate a device through Windows desktop.

Q&A

Q1: I encountered an Android license not granted issue while building using Gradle. What should I do?

A1: Go to Edit-> Project Settings-> Platforms-> Android, accept Android SDK License

../_images/AcceptSDKLicense.png