But the speed is still very slow. The same scene I have tested in URP can reach to 120 fps. But in HDRP, it’s just 30 to 50 fps. I have tired to remove the scene object and seems helpless.From the state window I can see the Cpu usage is very high.
Unity version 2019.3.2 . HDRP version 7.21
Does anybody have some suggestions?
Some update:
I found I double copy the XR Rig gameobject by accident. That’s the main reason why the fps is abnormal.
Still welcome any tips about VR optimization~ thanks
I found that disabling unnecessary frame settings can save a lot of CPU side overhead. Go to Project Settings → HDRP Default Settings, or disable on camera using custom frame settings overrides.
HDRP seems to add a lot of “trivial case” overhead. An empty scene I would expect to see lower frame rate than legacy RP. But,it should scale well with scene complexity.
If comparing performance, it’s also worth comparing build vs build. I get much higher framerates in build than in editor. 30-50 fps in the editor is not unusual for me in fairly complicated scenes but then I get a solid 90 in build. In the editor, use the performance profiler and just look at the camera render time to see if settings change makes a difference.