Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.0b6
2020.1
Issue ID
1191217
Regression
No
Profiler shows incorrect amount of (Instancing) Batched Draw Calls and Batches after enabling SRP Batcher
How to reproduce:
1. Open attached project ("DOTS testing.zip")
2. Open Profiler window (Window->Analysis->Profiler)
3. Enter and Exit Play mode
4. Select the Rendering tab in Profiler window
Expected result: Instancing has 1000 Batched Draw Calls and 4 Batches
Actual result: Instancing has 0 Batched Draw Calls and 1000 Batches
Reproducible with: 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a21
Not tested with: 2017.4 (SRP Batcher wasn't released)
Notes:
- Unity Frame Debugger lists 4 SRP batches for the 1000 cubes (as expected)
- Profiler's Rendering tab confirms there are 1000 cubes arranged into batches of 250 instances (total of 4 SetPass, additional SetPass is probably for Skybox)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment