<  Back

906 Using xAPI to Track Learning Experiences in Unity Games and x/R

8:30 AM - 9:30 AM
Friday, April 22

Tracks: Data & Platforms

With the rapid growth of AR, VR, and game-based learning, I am frequently asked, “How can I send xAPI statements from Unity?” Since I never used Unity myself, I did not have a good answer. But capturing learning activities from games, simulations, and AR/VR is one of the goals of xAPI. Unity is a tool frequently used in such projects. So, I set off on a journey to discover how to integrate xAPI into a Unity game and a VR project.

In this session, you will learn how to easily add xAPI to your Unity projects. You will see two different libraries tested in an actual Unity game. Each library has its “pros” and “cons” and we’ll explore when to use one library vs. the other. You will also see a “hybrid” combination that uses both libraries. And you’ll have some fun. The game will be available for you to try, and we’ll have a leaderboard application that pulls data from the xAPI learning record store. You’ll leave with access to the Unity source code for the game , so you can easily incorporate xAPI in your Unity projects. You will also see how to send xAPI statements from a VR project.

In this session, you will learn:

  • Why you should track learning experiences in games, simulations, and AR/VR with xAPI
  • What libraries are available to include xAPI in a Unity project
  • The “pros” and “cons” of each library
  • How to use a “hybrid” combination of features from both libraries for the best user experience

Technology discussed:

Unity gaming engine, GBLxAPI library for Unity, TinCan, Net xAPI library

Art Werkenthin



Art Werkenthin, president of RISC, built his first learning management system (LMS) in 1988 and now has over 25 years’ experience working with LMS in the oil and gas, retail, finance, and other industries. Art is keenly interested in the xAPI specification, and RISC was an early adopter of this technology. Interested in expanding the xAPI to the LMS, Art has served for the past three years on the ADL cmi5 committee. In 2015, RISC demonstrated the first implementation of a cmi5 runtime engine embedded in its LMS. Art has presented on cmi5 at several conferences, including mLearnCon, DevLearn, and xAPI Camp.