Skip to main content

xr.DisableOpenXROnAndroidWithoutOculus

Var

Unreal Engine Var console variable.

xrDisableOpenXROnAndroidWithoutOculus

Description

If true OpenXR will not initialize on Android unless the project is packaged for Oculus (ProjectSetting->Platforms->Android->Advanced APK Packaging->PackageForOculusMobileDevices list not empty). Currently defaulted to true because the OpenXR loader we are using hangs during intialization on some devices instead of failing, as it should.

Usage

xr.DisableOpenXROnAndroidWithoutOculus [value]

Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.