Search Issue Tracker
By Design
Votes
0
Found in [Package]
14.0.0
Issue ID
1390210
Regression
No
Graphics.DrawMeshInstancedIndirect API doesn't draw Meshes when the SRP isn't BiRP
How to reproduce:
1. Open the user's attached "URPGPUInstancingTest" project
2. Enter the Play Mode in the "SampleScene 1" Scene
Expected result: Meshes are generated in the Game view without any errors
Actual result: Only one pink Mesh is generated or nothing. In some versions "ArgumentNullException: Value cannot be null." error is additionally thrown. Only one Mesh is generated when generating Meshes with the current SRP-compatible Shader
Reproducible with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.31f1), 12.1.5 (2021.2.14f1), 13.1.7 (2022.1.0b7), 14.0.0 (2022.2.0a7)
Notes:
- Reproducible with HD RP
- Not reproducible with BiRP
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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note:
The example in the builtin Unity manual is only designed for use with the Builtin renderer. To make this work in URP you will have to make tweaks to the shader code example. For more information about making a URP compatible shader please see the documentation here: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest