Unity Experiment Framework (UXF)
Overview
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:
- Per participant (e.g. age, gender)
- Per-trial (responses, e.g. a selection, movement time)
- Per-timestep within a trial (e.g. position in space)
Links
Research paper in Behavioural Research Methods (2020)
Overview Video
Quick Start Video Tutorial
Git Repo
Text Tutorial
UXF Wiki