Install Sample Project

Setting Up Your Unity Project with the MOTAR SDK

Prerequisites

  • Unity 2022.3+ (SDK supports Unity 2021.3 and up)

  • Unity Editor installed

  • Basic familiarity with Unity’s Package Manager and Project Settings


Installing the MOTAR SDK via Scoped Registry

  • Open Unity Editor and navigate to Edit > Project Settings.

  • In the Project Settings window, select Package Manager.

  • Add a new Scoped Registry with the following details:

    • Name: MOTAR

    • URL: https://registry.hub.motar.com

    • Scope(s): com.motar

  • Click Save and close Project Settings.

  • Open Package Manager (Window > Package Manager).

  • Change the dropdown from Packages: In Project to My Registries (Unity might take a minute to detect the registry).

  • Under Dynepic, select MOTAR SDK and click Install.

  • Click Yes to enable new input system backends (required for UI interaction).


Importing Samples

Device Sync Sample

  1. Open Package Manager and select MOTAR SDK under Dynepic.

  2. Click on Samples.

  3. Find Device Sync and click Import.

  4. Navigate to Assets/Samples/MOTAR SDK/<current version>/Device Sync/Scenes.

  5. Open the MOTARDeviceSyncAndAuthentication scene.

  6. When prompted, click Import TMP Essentials.

Avatar Sample

  1. Open Package Manager and select MOTAR SDK under Dynepic.

  2. Click on Samples.

  3. Find Avatar and click Import.

Learn to Fly UFO (URP Only) Sample

  1. Open Package Manager and select MOTAR SDK under Dynepic.

  2. Click on Samples.

  3. Find Learn to Fly UFO (URP Only) and click Import.


You are now ready to begin setting up the Unity scene(s).

Continue to: Set Up the Scenes

Last updated