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
If your project uses an older version of Unity and cannot be updated, please reach out for assistance.
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).
Unity will restart.
Importing Samples
Device Sync Sample
Open Package Manager and select MOTAR SDK under Dynepic.
Click on Samples.
Find Device Sync and click Import.
Navigate to
Assets/Samples/MOTAR SDK/<current version>/Device Sync/Scenes
.Open the MOTARDeviceSyncAndAuthentication scene.
When prompted, click Import TMP Essentials.
Avatar Sample
Open Package Manager and select MOTAR SDK under Dynepic.
Click on Samples.
Find Avatar and click Import.
Learn to Fly UFO (URP Only) Sample
Open Package Manager and select MOTAR SDK under Dynepic.
Click on Samples.
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