Instructions for Unity version 2019.4.20f1
Overview
The Motive APK is the application containing the Motive SDK and world built to client specifications. This app is capable of communicating with the Launch APK for app configurations.
Building
Build Settings
Oculus headsets utilize Android, ensure the selected Build Target is set to Android
Make sure to check all scenes to be included in the build, especially necessary when using multiple scenes in your app.
Leave settings to default as shown
Build will produce an APK, please note if using a signed apk that the Publishing Settings are set
Player Settings
The Player Settings contain multiple sections that require configuration.
Initially, set the Company Name, Product Name, and Version to appropriate values.
Please refer to the Version and Bundle Version Guideline for details regarding Versions.
Splash Image
Use the PoweredBy_Motive_Logo_Reversed_Horizontal_Full_022220.png located inside the Motive SDK.
Other Settings
Version & Bundle Version Code should follow the guidelines specified in Version and Bundle Version Guideline
Set the following values for both PC/Standalone and Android:
Scripting Backend - IL2CPP
Api Compatibility Level - .NET 4.x
Allow ‘unsafe’ code - True
Scripting Define Symbols
MOTIVE_XAPI;MOTIVE_QUICK_OUTLINE
Publishing Settings
This setting is located inside the Player Settings.
Refer to the Building APKs document for full instructions regarding APK signatures and keystores.
Ensure the Custom Keystore box is checked and that a Keystore is provided
Input the password to the Keystore
Select the Key to sign the APK and input the password for the respective Key