Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.2
2019.2.11f1
2019.3
2020.1
Issue ID
1197326
Regression
Yes
[Vulkan] Using DrawMeshInstanced draws only one Mesh and then throws maximum instance count reached error
Reproduction steps:
1. Open the attached project named Case_1197326
2. Open the instancing Scene
3. Observe the Spheres in the Scene
4. Change the Graphics API used by the project to Vulkan
5. Observe the Spheres again
Expected result: The number of rendered spheres matches(Screenshot_1197326_V1)
Actual result: The number of spheres rendered does not match when using Vulkan(Screenshot_1197326_V2)
Reproducible with: 2018.4.13f1, 2019.2.15f1, 2019.3.0f1, 2020.1.0a14
Not reproducible with: 2017.4.35f1
Could not test with: 2020.1.0a15(project crashing due to another issue)
Notes:
- Does not reproduce on Direct3D11, Direct3D12, OpenGLCore and Metal
- Inspecting the mesh render process using a Frame Debugger displays the following error: "The previous instanced draw call has reached its maximum instance count"
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2020.1.X):
After investigating the project attached to the bug report, it was found that the shaders use SV_InstanceID-semantics directly. This kind of usage is currently not supported.