Develop

Console Commands and Variables Reference

Updated: Apr 17, 2026
This document lists useful Unreal Engine console commands and console variables available for Meta Quest development.
Typically, you open the console by pressing the ~ (tilde) key. However, opening the console window in Unreal varies by operating system and configuration, so you should consult the Unreal Engine documentation.
For a list of all commands, you can type dumpconsolecommands in the console.

Unreal Engine VR Commands

The following are some commands for general VR development.
TaskConsole Command
Prints the version info for the current device
vr.HMDVersion
Enable or disable the HMD
vr.bEnableHMD [bool]
Enable or disable Stereo mode
vr.bEnableStereo [bool]
Change world units to meters scale
vr.WorldToMetersScale [float]
Enable or disable the hidden-area mask
vr.HiddenAreaMask [bool]
Set screen mode
vr.SpectatorScreenMode [0..5] where 0=Disabled, 1=SingleEye Letterboxed, 2=Undistorted, 3=Distorted, 4=SingleEye, 5=SingleEye Cropped
Set tracking origin to floor or eye
vr.TrackingOrigin [floor/eye]
Reset the position and orientation and apply yaw in degrees
vr.HeadTracking.Reset [yaw]
Reset position only
vr.HeadTracking.ResetPosition
Reset orientation only and apply yaw in degrees
vr.HeadTracking.ResetOrientation [yaw]
Shows current head tracking status
vr.HeadTracking.Status

Meta Quest Commands

The following are some commands specific to Quest VR development.
TaskConsole Command
vr.oculus.ShowToolWindow
Initiate a CPU stress test
vr.oculus.Stress.CPU [PerFrameTime [TotalTimeLimit]]
Initiate a GPU stress test
vr.oculus.Stress.GPU [LoadMultiplier [TimeLimit]]
Reset the stress tester and stop all currently running stress tests.
vr.oculus.Stress.Reset
Note: The vr.oculus.Stress.* commands are available on PC only. They are compiled out on Android (Meta Quest) and in Shipping builds, so they can only be used during development on a desktop target.

Meta Quest Mixed Reality Commands

The following are some Quest mixed-reality commands.
TaskConsole Command
Set the composition to post-process, meaning the casting window includes the background and foreground view.
oculus.mr.ExternalCompositionPostProcess
Override the parameters with the specified values.
oculus.mr.OverrideParameters [0,1]

Command-line Parameters for Mixed-Reality Sample

Once you package the sample scene, you may launch it with the parameters listed in the following table. You may set your application to launch with mixed reality capture enabled in Blueprints for debugging purposes only.
TaskParameter
Enable Mixed Reality Capture on Windows
-mixedreality
Force ExternalComposition mode for the MRC session
-externalcomposition