Unity
Instructions for Unity version 2019.4.20f1
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 /wiki/spaces/PM/pages/1008304405 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 /wiki/spaces/PM/pages/1008304405
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 APK Signatures 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