Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
19
Found in
2019.4.24f1
2020.3.2f1
2021.1.1f1
2021.2.0a10
Issue ID
1331098
Regression
Yes
SRP Batcher not working with OpenGL APIs when the project is built
How to reproduce:
1. Open the attached "SRPBatcherBenchmark3" project
2. Open the "scene_lwbench1" Scene
3. Open the Build Settings (File->Build Settings...)
4. Make sure that the "scene_lwbench1" Scene is in the list of Scenes to Build
5. Build and Run
Expected results: SRP Batcher code path Shader calls (All objects and Shadows) are not 0
Actual results: SRP Batcher code path Shader calls (All objects and Shadows) are 0
Reproducible with: 7.6.0 (2019.4.26f1), 10.4.0 (2020.3.7f1), 11.0.0 (2021.1.6f1), 12.0.0 (2021.2.0a16)
Could not test with: 2018.4 because URP was not yet available
Comments (2)
-
tzuchien-chiu
Oct 07, 2021 14:30
Is this fixed included in 2020.3.14f1 ?
Does this require to upgrade URP to 10.6.x ? -
Peter77
May 13, 2021 08:41
Related forum thread:
https://forum.unity.com/threads/srp-batcher-does-not-work-with-opengles3.1095937/
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
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- The Shortcuts window cannot be docked when it is invoked from the Shortcut Helper Bar
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
- Crash on PPtr<Object>::operator when undoing "Modern UI Pack" elements
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.14f1