Search Issue Tracker
Active
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
- The Scene is marked as dirty when navigating Hierarchy by using arrow keys
- Build process only shows Initializing when building for Android
- TileMap Palette preview flickers when scaled
- ShaderGraph Blackboard "plus" sign is not centered within the button
- [URP] When Rendering Layers are enabled, the DepthNormalPrepass is enabled even if not used
Add comment