Lightweight SDK

Overview

The Motive Lightweight SDK (LSDK) for Unity allows developers to connect to the Motive system with just a few lines of code.

Features

  • Use SSO to manage your learners in a central place

  • Plugin-free LMS integration: supports any SCORM or XAPI LMS out of the box with no additional code

  • Use Motive Launch Pad app to Launch any content installed on the headset with a simple 6 character Launch Code

  • Use Motive Insights to record user progress, including:

    • Targeted Assessments (score, duration, pass/fail, etc.)

    • Overall Scenario Result (score, completion, etc.)

    • Capture and store session media

  • Forward data to an XAPI LRS

Installation and Configuration

Step 1: Install Unitypackage

Drag and drop Motive LSDK.unitypackage into any Unity project. LSDK uses the TinCan library to handle XAPI messaging. TinCan requires Newtonsoft.JSON. If this is not already installed in your project, you can install it by installing com.unity.nuget.newtonsoft-json@2.0.0 as a git package in Package Manager.

Note that the actual reporting mechanism can be replaced. Use TinCanXAPIReporter as a guide for managing your own implementation. Note however that a custom implementation may not be able to take advantage of Insights reporting, SCORM integration, or SSO.

Step 2: Drag & Drop Prefabs

You will need to add 2 prefabs to your scene to connect to Motive Cloud:

  • Motive LSDK - core services and configuration

  • LSDK App - configurable app components

Step 3: Start Sending Insights

The LsdkDemoApp class demonstrates how to use LSDK to send Insights that can be captured by Launch Server and reported back to your LMS. There are two sample Scenes: LSDK Sample is a flatscreen implementation, LSDK Sample VR uses Unity XR Interaction Toolkit for testing on headset. Configuring these apps is discussed below. A walkthrough of the code in the sample app can be found here Lightweight SDK Sample App Walkthrough

Related Articles

Learn more about Launch Server

Configuring a Launch Module for LSDK

Configuring the LSDK Sample App

Video Walkthrough - Setup Lightweight SDK VR Sample with Launch Server and Launch Pad

Â