Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X
Votes
0
Found in
2022.3.56f1
6000.0.33f1
Issue ID
UUM-93100
Regression
No
[URP] When Rendering Layers are enabled, the DepthNormalPrepass is enabled even if not used
Steps to reproduce:
1. Open the attached user's project "Test-2022-3-47f1.zip"
2. Navigate to "Assets/URP-HighFidelity-Renderer.asset" and make sure "Render Objects" Renderer Feature is disabled
3. Enter Play Mode and enable Frame Debugger
4. Observe DrawDepthNormalPrepass does not appear in the list of Render Passes
5. Enable "Render Objects" Renderer Feature
6. Observe DrawDepthNormalPrepass appears in the list of Render Passes
Expected Results: the DrawDepthNormalPrepass is not enabled when the Render Objects Renderer Feature is enabled since it does not support Rendering Layers
Actual Results: The DrawDepthNormalPrepass is enabled unnecessarily
Reproducible on: 2022.3.56f1, 6000.0.33f1, 6000.0.0b2
Testing Environment: Windows 11
Not reproducible on: No other environment tested
Notes:
-If Rendering Layers are enabled, any Renderer Features that are used will enable the extra render passes required for Rendering Layers even if the Renderer Feature does not support Rendering Layers such as the Render Objects Renderer Feature
-The default behavior of a renderer feature needing extra passes for rendering layers is to unnecessarily enable the DepthNormalPrepass instead of using DrawOpaqueObjects pass to get the required depth texture
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Add comment