Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Unity

Instructions for Unity version 2019.4.20f1

Page Tree
rootBuild

...

Configurations

...

  1. Oculus headsets utilize Android, ensure the selected Build Target is set to Android

  2. Make sure to check all scenes to be included in the build, especially necessary when using multiple scenes in your app.

  3. Leave settings to default as shown

  4. 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.

...

  1. Ensure the Custom Keystore box is checked and that a Keystore is provided

  2. Input the password to the Keystore

  3. Select the Key to sign the APK and input the password for the respective Key

...

startDepth1