Search Issue Tracker
Fixed
Fixed in 2022.2.4f1, 2023.1.0a26
Votes
1
Found in
2022.2.0b16
2023.1.0a20
Issue ID
UUM-20379
Regression
No
The depth prepass does not batch effectively
The depth only shader does not have any variants (I think) and should therefore be optimal for batching. The frame debugger indicates otherwise as batches seem to be broken the same way as the keywords of the lit shader cause batches to break.
Steps to reproduce:
# Open attached project
# Open frame debugger
# Check the depth prepass
# Count the number of SRP batches
Expected result: 1
Actual result: several
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2023.1.0a26):
Fix validated.
Resolution Note (fix version 2022.2.4f1):
Does not reproduce