Pages in Documentation
Customize
Overview
Swap Actor
Settings
Swap Actor
UI3 Connect
UI3 VR projects
Customize
Overview
Spl. T. Versions
Placement
Mesh Def.
Segments
Books V2
UI3 Versions
UI3 Preview Ft.
UI3 Overview
UI3 Bugs
UI3 Settings
UI3 Design
3 Spline Tools
Doors FAQ
[old] Doors UE5
Step by Step
Tips & FAQ
Reference
UI3 Input Controls
UI3 FAQ
Books V1
Doors UE4 (V1)
Change list
3.1 Bugs Fixes
2A Generic BP
2B Gen Examples
1 Railings
UI 1 - Part 1
UI 1
Ui 1 - Part 2
1 Overview
2 UI Features
3 Get Started
4 Info Map
5 BP Actors
6 Manage Clients
7 FAQ
8 Tutorials
UI3 Overview
UI3 Get Started
3.1 Info Map
UI3 Edit & Info
UI3 Other BPs
UI3 In VR Projects
This will give you a brief overview of what is required to run the UI3 with a VR headset. This is not a complete guide for VR in Unreal Engine. Follow the links provided for better guides.
Content:
Installing Your VR Headset
There are many VR headsets available. You will need to install your headset so it can work with your PC. You will also need to install the correct plugin for your headset in Unreal.The UI3 user interface works with all headsets as long as they are installed correctly. There are many things that can stop VR projects from working. You need to narrow down the cause to find the problem.
- The headset is just another display with another controller for the UI3. Test your project first in the keyboard mouse default game mode.
- Don't look for a setting within the UI if your headset isn't working. There are none that can fix your headset not running.
- Test your headset first on your PC outside of Unreal Engine
- Try one of the free VR examples for Unreal
Steam VR and HTC Vive
Steam VR supports HTC Vive, Oculus Rift and other headsets. There is a good chance that your headset is supported by Steam VR, if it isn't one of the major headset brands. It's well suited for Unreal Engine projects.VR Game Mode
The game mode needs to be set to the SDotUI3_GamemodeVR. Open the world settings of your persistent (main) level. Choose the game mode from the list of Game Mode Overrides as seen in the image and save the level.You should see the virtual tablet next time you play your project in the editor preview with the UI items on it.
The demo project contains the level UI3_PersistentVR that is set up to be used for VR.
Simulating Input Controls
You need a game controller to navigate through the menu items on the tablet. You can simulate the controller buttons on the keyboard as seen in the image.OpenXR Plugin
The OpenXR plugin is added to the Demo Project by default. Every Game Mode contains a node from it to either enable or disable the Head Mounted Display (HMD) VR headset. This allows the player to travel from a non-VR to a VR enabled scene within the same application.If you are getting compile errors then check if the OpenXR plugin is enabled in the plugin settings.
Some headsets are not compatible with the OpenXR plugin, In this case you need to remove all Enable HDM nodes from all SDotUI3 game modes. You will need to find the node that enables your headset supplied by the plugin for your headset and connect it to the Begin Play node of the SDotUI3 GamemodeVR.