Skip to content

DisplayXR/displayxr-unreal-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DisplayXR Unreal Test Project

A minimal Unreal test project for the DisplayXR Unreal plugin. Use this project to validate the plugin against new releases, test rig setups, and try out stereo rendering on a tracked 3D display.

Requirements

  • Unreal Engine 5.7
  • Visual Studio 2022 with the "Game development with C++" workload
    • Must include the .NET Framework 4.6.2+ SDK and matching targeting pack (installable from the VS Installer under Individual components). Without it, Unreal Build Tool fails with Could not find NetFxSDK install dir when instantiating its SwarmInterface module and no editor target will compile.
  • A 3D display supported by the DisplayXR OpenXR runtime, or use the built-in sim_display driver for development without hardware
  • GitHub CLI (gh) authenticated via gh auth login — the bootstrap script uses it to download the plugin

Quickstart

  1. Clone this repo:
    git clone https://github.com/DisplayXR/displayxr-unreal-test.git
    cd displayxr-unreal-test
  2. Fetch the pinned plugin build:
    pwsh Scripts/fetch-plugin.ps1
    This downloads the plugin ZIP from the displayxr-unreal release matching the tag in .displayxr-version and unpacks it into Plugins/DisplayXR/.
  3. Right-click DisplayXRTest.uprojectGenerate Visual Studio project files.
  4. Open DisplayXRTest.sln, build the Development Editor configuration.
  5. Launch the editor and open Content/SimpleCube.umap.

Plugin Reference

The plugin version consumed by this project is declared in .displayxr-version at the repo root:

v0.1.0

Unreal has no native "git URL + tag" package manager (the way Unity's UPM does), so this repo uses a small fetch script against GitHub Releases instead.

Testing a different plugin version

  1. Edit .displayxr-version to the desired tag (e.g. v0.2.0).
  2. Re-run pwsh Scripts/fetch-plugin.ps1.
  3. Reopen the editor.

Testing a local development build of the plugin

Clone displayxr-unreal directly into Plugins/DisplayXR/ (the fetch script always wipes that path, so back up first if needed):

git clone https://github.com/DisplayXR/displayxr-unreal.git Plugins/DisplayXR

The Plugins/DisplayXR/ path is gitignored either way.

Test Scenes

  • Content/SimpleCube.umap — baseline scene with a crate, camera rig, and display rig blueprints. Good for verifying stereo output and eye tracking.

Related Repositories

About

Unreal test project for the DisplayXR plugin — sample scene and setup to validate the plugin against new releases

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors