Required Build Settings

Builds to the Lume Pad are supported.

Setting the Game Instance Class

The Game Instance Class (Project Settings, Project, Maps and Modes, Game Instance) 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.
Make sure arm v7 and OpenGL ES 3.1 support is enabled. (Platforms, Android, Build)
Enable Package game data inside .apk and Fullscreen Immersive setting. (Platforms, Android, APK Packaging)
Add this to Extra Settings for <application> section. (Platforms Android, Advanced APK Packaging PC: <uses-library android:name="" android:required="false"/>
Mac: <uses-library android:name='' android:required='false'/>
With these settings, you will be able to build an apk which runs on LitByLeia devices!
Copyright © 2023 Leia Inc. All Rights Reserved