<  Back

611 Using xAPI to Track Learning Experiences in Unity Games

3:00 PM - 4:00 PM PT
Thursday, October 21

Tracks: Games & Gamification

With the rapid growth of A/R, V/R, and game-based learning, I am frequently asked: How can I send xAPI statements from Unity?”Since I had 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.

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 the Unity source code for the game, so you can easily incorporate xAPI in your Unity projects.

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
  • What are 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 in this session:

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.