Hi! I’m currently trying to build my app for multiple platforms, such as PC Windows, Android tablet and Meta Quest 3 (PCVR or standalone, VR or MR). We are currently using Unreal 5.4.4.
My current problem is that we developed a featured using a post-process material, so we need to enable MobileHDR. But recently, I tried building the app for Meta Quest 3 with mixed reality, and after lots of research, and using the Meta XR Project Setup Tool, I found out that MobileHDR had to be set to False, and MobileMultiview has to be set to True in the DefaultEngine.ini. If not, the app crashes on startup because of bad shader compilation.
My first problem is that the setting MobileHDR cannot be defined in AndroidEngine.ini nor AndroidDeviceProfiles.ini, why? I tried multiple times in both files and the only way to make it work is by defining it in DefaultEngine.ini.
My second and real problem is, is there a way to compile shaders with and without MobileHDR in the same build to use the same APK for Meta Quest 3 and other Android devices, and use the console variables defined in my DeviceProfile for Meta Quest instead?
Thx!