Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.1.X, 2020.2.X
Votes
0
Found in
2019.3
2020.1
2020.1.0b5
2020.2
Issue ID
1239035
Regression
No
Frame debugger for SRP Batcher reports unexpected Vertices and Indices read-outs when identical objects are instantiated
How to reproduce:
1. Open the attached project named "Case_1239035"
2. Open the SampleScene
3. Open the "Clone Quads.cs" and check which test case is selected. It should be case 2 with 2500 quads.
4. Enter Play mode
5. Using the frame debugger inspect the second SRP batch AfterPostProcessing->RenderLoopNewBatcher.Draw->SRP Batch
6. Observe the data in the Preview tab which shows 8 Vertices and 12 Indices
7. Exit Play mode and change the test case to 5 with 7000 Quads
8. Repeat steps 4-7
Expected result: SRP Batcher returns the same number of Vertices and Indices
Actual result: The number of Vertices and Indices gradually increases(28 vertices and 42 indices for 7000 quads)
Reproducible with: 2019.3.14f1(0.3.0-preview.4), 2020.1.0b9(0.4.0-preview.8), 2020.2.0a12(0.5.0-preview.6)
Could not test with: 2018.4.23f1(Couldn't downgrade the project)
Notes:
1. Graphics APIs tested: D3D11, D3D12, Vulkan
2. HDRP 9.0.0-preview.13 was used in the tests for 2020.1, 2020.2 and HDRP 7.3.1 was used for 2019.3
3. Hybrid renderer V1 returns a different Vertices and Indices count for the same amount quads spawned(V1 - 24 Vertices and 36 Indices, V2 - 28 Vertices and 42 Indices for 7000 quads)
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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 2021.1):
Fixed in - 2021.1.0a2
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0b9
Resolution Note (fix version 2020.1):
Fixed in - 2020.1.8f1