# The integration of virtual reality and EEG: A step-by-step guideline

**Authors:** Caspar Krampe, Juriaan Wolfers, Philip Dean

PMC · DOI: 10.1016/j.mex.2025.103770 · MethodsX · 2025-12-18

## TL;DR

This paper provides a step-by-step guideline for integrating VR with EEG and eye-tracking to study consumer behavior in immersive environments.

## Contribution

A detailed, standardized protocol for synchronizing EEG, eye-tracking, and VR data using open-source tools is introduced.

## Key findings

- A practical implementation using Varjo and Enobio systems demonstrates the feasibility of synchronized multimodal data collection.
- The proposed protocol enhances cross-study comparability and supports wider adoption of multimodal VR research.
- Open-source tools like LSL enable high-precision synchronization in immersive research settings.

## Abstract

Virtual Reality (VR) is gaining traction in cognitive and decision-making research because of its ability to generate immersive, controlled environments that closely replicate real-world situations. Its integration with neurophysiological tools such as electroencephalography (EEG) and eye-tracking offers a unique opportunity to gain deep insights into consumer behaviour by combining behavioural and neural measures in real-time. However, the simultaneous use of VR and neurophysiological measures remains challenging due to crucial issues concerning data stream alignment, event timestamping, hardware compatibility, and potential signal interference induced by head-mounted equipment. To date, the absence of standardised protocols has limited the scalability and reproducibility of multimodal VR research, thereby hindering its widespread adoption. This paper presents a detailed, step-by-step guideline for harmonising EEG, eye-tracking, and VR data streams using the Lab Streaming Layer (LSL) in a Unity-based VR environment. A Varjo headset with in-built eye-tracking and a Neuroelectrics Enobio EEG system are used as a working case to illustrate a practical implementation of the guidelines displayed. By outlining clear guidelines for hardware configuration, event timestamping and software implementation, this paper demonstrates how open-source tools can enable high-precision data synchronisation in immersive research setting. The protocol is flexible and transferable to similar setups and therefore supports cross-study comparability and encourages wider uptake of multimodal VR methodologies, while acknowledging methodological constraints.

Image, graphical abstract

## Full-text entities

- **Diseases:** fatigue (MESH:D005221), ADPL (MESH:D020179), stutters (MESH:D013342)
- **Species:** Hepacivirus P (species) [taxon 2202225], Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12808493/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12808493/full.md

## References

7 references — full list in the complete paper: https://tomesphere.com/paper/PMC12808493/full.md

---
Source: https://tomesphere.com/paper/PMC12808493