MOTAR
  • About
  • Welcome
    • Get a License
    • Installation & Tutorial Files
    • Commercial Installation & Setup Tutorial
      • Learn to Fly UFO - XR App Build Tutorial
        • Prerequisites
        • Install Sample Project
        • Set Up the Scenes
        • Set Up XR Controls
        • Configure the MOTAR SDK
        • Build the Application
      • Advanced Deployment Guide
      • Get MOTAR 3D
    • Government Installation & Setup Tutorial
      • Learn to Fly UFO - XR App Build Tutorial
        • Prerequisites
        • Install Sample Project
        • Set Up the Scenes
        • Set Up XR Controls
        • Configure the MOTAR SDK
        • Build the Application
      • Advanced Deployment Guide
      • Get MOTAR 3D
  • RELEASE NOTES
    • MOTAR 3.0
    • MOTAR 3.0 Beta Hotfix
    • MOTAR 3.0 (Beta)
  • HOW TO
    • MOTAR Core Services
      • Using MOTAR Hub
        • How to Discover Listings
        • How to Download Listings
        • How to Use the Model Inspector
        • How to View MIAB Compatible Listings
        • How to Use Version Tree in Hub
        • How to Launch Apps
      • Using MOTAR Studio
        • How to Manage Each Listing Type
          • App | Listing Type
          • Models | Listing Type
          • Video | Listing Type
          • Audio | Listing Type
          • Image | Listing Type
          • Document | Listing Type
        • How to Manage Listing Permissions
        • How to Use State Manager
        • About MOTAR Digital Thread
          • Digital Thread Iconology
          • New Version | Digital Thread
          • Remix | Digital Thread
          • Authorizing and Certifying Listings
        • MOTAR Secure File Upload & Scanning
      • Using MOTAR Devices
        • How to Sync a Device to MOTAR Web
      • Using MOTAR Admin On A Commercial License
        • Owning Company (Self Managed) | Commercial
        • How to Manage Partners | Commercial
          • How to Add Partners | Commercial
        • How to Manage Users | Commercial
          • How to Add Users | Commercial
          • How to Add User to Studio Group | Commercial
        • How to Manage Studio Groups | Commercial
          • How to Add Studio Groups
      • Using MOTAR Admin On A Government License
        • Owning Company (Self Managed) | Government
        • How to Manage Access | Government
          • How to Create A User | Government
          • How to Add User to Studio Group | Government
          • How to Manage Users | Government
        • How to Manage Studio Groups | Government
          • How to Add Studio Groups | Government
        • How to Manage Contractors | Government
          • How to Add Contractors | Government
      • Using MOTAR SDK
        • MOTAR SDK for Unity
          • Installation
            • Detailed Scoped Registry Instructions
          • Configuration
          • MOTAR Classes
      • Using MOTAR Holodeck
      • Installing and Using MOTAR 3D
      • Backup & Restore Data
      • Updating MOTAR Installation
  • Support
    • Contact Us!
Powered by GitBook
On this page
  • Setting Up Your Unity Project with the MOTAR SDK
  • Prerequisites
  • Installing the MOTAR SDK via Scoped Registry
  • Importing Samples
  1. Welcome
  2. Government Installation & Setup Tutorial
  3. Learn to Fly UFO - XR App Build Tutorial

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

  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

PreviousPrerequisitesNextSet Up the Scenes

Last updated 2 months ago