Building an Unreal Project

Builds to the Lume Pad and Hydrogen™ Android devices are supported.

Setting the Game Instance Class

The Game Instance Class in the Project Settings needs to be set to PlatformGameInstance or any custom class that derives from it. This is necessary for the app to detect changes in orientation and various device states like being in the foreground or background. The LeiaCameraPawn and LeiaCameraComponent hook into the provided Game Instance to detect these orientation events and states.

Building For Android

There are some settings that need to be set in the project settings in the Android platform.

  1. Make sure arm v7 and OpenGL ES 3.1 support is enabled.

    Make sure armv7 and OpenGL ES3.1 is enabled

  2. Enable Fullscreen immersive setting.

  3. Add extra settings in Application section. <uses-library android:name="com.leia.android.lights" android:required="false"/>

With these settings, you will be able to build an apk which runs on the Lume Pad or Hydrogen!