Search Issue Tracker
Fixed in 2021.3.21f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a26
Votes
0
Found in
2021.3.8f1
2022.1.13f1
2022.2.0b4
2023.1.0a5
Issue ID
UUM-11166
Regression
No
SRP Batcher can't batch draw calls during MainLightShadow pass when ReadTextureAlpha is enabled
How to reproduce:
1. Open the attached project "SRPShadowBatch.zip"
2. Open Assets/BUG Report/BugScene.unity
3. Open Window>Analysis>Frame Debugger
4. Enable Frame Debugger
5. Select Assets/BUG Report/ObjectMat1.mat in the Project window
6. Enable ReadTextureAlpha in the Inspector window
7. Repeat steps 5-6 for "ObjectMat2.mat" and "ObjectMat3.mat"
Expected results: There is only one "SRP Batch" in Shadows.DrawSRPBatcher
Actual results: There are 3 "SRP Batch" in Shadows.DrawSRPBatcher
Reproducible with: 2021.3.8f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a5
Could not test with: 2020.3.37f1 (no ReadTextureAlpha toggle on materials)
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment