Search Issue Tracker
By Design
By Design in 2023.3.X
Votes
6
Found in
2020.3.46f1
2021.3.20f1
2022.2.10f1
2023.1.0b7
2023.2.0a5
2023.3.0a3
Issue ID
UUM-29074
Regression
No
Screen Space decals doubles the scene draw calls when rendering layers are enabled
How to reproduce:
1. Download and open the attached project
2. Open the "BugSampleScene" scene
3. Open the Game view window
4. Observe the Game view statistics
Expected outcome: Statistics window shows 8 batch call draws
Actual outcome: Statistics window shows 13 batch call draws
Reproducible with: 2020.3.46f1, 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Comments (2)
-
ZZZGoat
Oct 20, 2023 09:14
Please resolve this issue! Is critical for our project also.
-
zenbin3d
Oct 19, 2023 10:29
Unity guys...this issue seems pretty bad. I mean, double draw calls?! Anyone?
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
The reason for the increase in draw calls is because when MSAA is enabled, the renderer needs to get the layers from a DepthNormals prepass.
Rendering layers can not use MSAA resolve, because it encodes integers. By disabling MSAA, the draw count in that project does not change when enabling/disabling Rendering Layers.
Resolution Note (2023.3.X):
The reason for the increase in draw calls is because when MSAA is enabled, the renderer needs to get the layers from a DepthNormals prepass.
Rendering layers can not use MSAA resolve, because it encodes integers. By disabling MSAA, the draw count in that project does not change when enabling/disabling Rendering Layers.