UE5.4 (and 5.4.1) shadows are broken in VR (VR Template, default settings)

Below are the files you’ll need DefaultDeviceProfiles.ini in your config and AndroidScalability.ini in config/android inside of your Project/config folder

DefaultDeviceProfiles.ini (1.1 KB)
AndroidScalability.ini (819 Bytes)

Shaders:
Shaders.zip (2.7 MB)

Shader unzipped contents should be placed here.

IMPORTANT:
Mobile Multi should only be enabled for mobile builds
Instanced Stereo shouldn’t be enabled for mobile builds and should only be enabled on desktop builds
these flags appear to negatively impact quest2/3 standalone if both enabled.

Update on Detecting the Quest 3 properly: (thanks! @Starkium )
To fix the problem, you need to add a MatchProfile in your BaseDeviceProfiles.ini located in (Your Engine Loc)\Engine\Config.

  1. Open BaseDeviceProfiles.ini.
  2. Find the existing MatchProfile for Meta_Quest_3.
  3. After the existing entry, paste the following:

+MatchProfile=(Profile=“Meta_Quest_3”,Match=((SourceType=SRC_DeviceMake,CompareType=CMP_Equal,MatchString=“Oculus”), (SourceType=SRC_GPUFamily,CompareType=CMP_Equal,MatchString=“Adreno ™ 740”)))

3 Likes