Unity Experiment Framework (UXF)

Last modified by Maarten Struijk Wilbrink on 2022/02/21 16:28


Unity Experiment Framework (UXF) is set of components which simplify human behaviour experiments developed in the Unity engine. It is built upon a ‘Session - Block - Trial’ concept:


(From Brookes et al., 2020

Trials and blocks can easily be generated by UXF by supplying it with the task features and values you want to test.

The details of your study can remain independent from the execution of the task, which is convenient for when you’re preparing the Methods section of your paper. UXF also promotes flexibility from Session to Session, allowing you to present a (slightly) different task at different times.

UXF supports experiments for VR, Desktop, as well as Web based experiments for full remote data collection, with different data output modes.

Data Collection

UXF automates the process of collecting data. Data is stored in CSV files with automatic handling of file & directory naming. Data can be stored locally or online.

Data is saved at 3 levels:

  1. Per participant (e.g. age, gender)
  2. Per-trial (responses, e.g. a selection, movement time)
  3. Per-timestep within a trial (e.g. position in space)


Research paper in Behavioural Research Methods (2020)
Overview Video
Quick Start Video Tutorial
Git Repo
Text Tutorial
UXF Wiki

XWiki 14.10.13