Render Thread Performance

Hi I have spent a good amount of time trying to optimize my game, because we are close to a milestone. But I can’t figure out where the problem comes from.

We are using Unity 2020.3.16f1 and the target platform of this test is ps4 in base mode.
And is selected GraphicsJobs in native mode and the optimization of the scripts is also selected.

For example, in one of the main sections of the game every time that I run the profiler I see that the render thread has a big block in gray called WaitForGfxCommandsFromMainThread (13.29 ms) . And the Camera.Render in the Main Thread takes 17.48 ms. For that reason I thought that the problem is caused by the CPU in the process of generating draw calls and set pases but our numbers are not that big to have such a low performance.

Does anyone know what the problem may be , and what things you would recommend to improve the situation. Because we can’t achieve 30 fps with those numbers. Or that is the performance that one should expect ?

Thanks for the help.

We are also having similiar issues on our project. All improvements we tried were useless…