I have a strange performance issue. I have a performance test similar to the official UE guide (Performance Optimization for Environments | Inside Unreal - YouTube), where I iterate through 9 cameras in my scene an record the performance from each for 10 seconds.
I ran the performance test in the editor in 2D, in a build in 2D, and in a build on an HTC Vive with OpenXR. The results are shown in the table below:
Test Version (Resolution) | Median | Mean | Standard Deviation
Editor 2D (2560x1440) | 7.95 ms | 7.61 ms | 9.43 ms
Build 2D (2560x1440) | 8.53 ms | 7.72 ms | 2.77 ms
Build VR (2160x1200) | 22.28 ms | 20.80 ms | 5.66 ms
Why does the editor have better performance than my build version? And why is the VR version almost three times slower than the 2D version and doesn’t even render twice the number of pixels? I could run two 2D versions at the same time and have better performance than the VR version. What am I doing wrong?
Overview of my plane of an ocean planet surface with a 255 km volumetric cloud.