Search Issue Tracker
By Design
Votes
0
Found in [Package]
10.4.0
Issue ID
1314181
Regression
No
[HDRP] CPU usage increases significantly (4 - 5ms) when the Render Graph is used
How to reproduce it:
1. Open the attached project "1314181.zip"
2. Load the "TestScene" Scene
3. Set Profile Analyzer's Mode to 'Compare' and click on 'Open Profiler Window' in the Profile Analyzer window (Menu > Window > Analysis > Profile Analyzer)
4. Uncheck the 'Use Render Graph' checkbox in the HDRP Default Settings (Menu > Edit > Project Settings > HDRP Default Settings)
5. Enter the Play Mode
6. Wait few seconds, and in the Profile Analyzer window click the blue 'Pull Data' button
7. Leave the Play Mode
8. Check the 'Use Render Graph' checkbox in the HDRP Default Settings
9. Enter the Play Mode
10. Wait few seconds, and in the Profile Analyzer window click the red 'Pull Data' button
11. In the Profiler Analyzer window in the 'Top 10 markers on median frames' select 'DoRenderLoop_Internal()' marker
12. Compare CPU usage in Marker Summary section in Profiler Analyzer
Expected result: It takes around the same time (difference ~1ms) to render the Scene when Render Graph is used and it is not used
Actual result: It takes more time (4 - 5ms) to render a Scene when the Render Graph is used
Reproducible with: 10.1.0, 10.2.0 (2020.2.0b12), 10.3.2 (2020.2.3f1), 10.4.0 (2020.3.4f1)
Could not test with: 7.5.3 (2019.4.24f1) (Render Graph is not introduced yet), 11.0.0 (2021.1.0b6), 12.0.0 (2021.2.0a13) (cannot compare CPU usage due to not existing 'Use Render Graph' option)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Currently this is not due to a bug, but indeed we need to optimize rendergraph overhead and said optimization task is in our backlog.