Why does an Unreal Engine build project show black screen in the headset?

Unreal Engine build project shows black screen in the headset.

If you have OpenXR Toolkit installed

  1. Go to Settings
  2. Disable the OpenXR Toolkit.