How to reproduce:
1. Open the “BatchDrawCommand“ project
2. Open the “OutdoorsScene“
3. On the Scene view, right-click and hold while rapidly moving the mouse
4. Keep rapidly moving the mouse for around 15 seconds
5. Observe the Console
Expected result: No errors are thrown
Actual result: “A BatchDrawCommand was submitted with an invalid Batch, Mesh, or Material ID.“ error is thrown
Reproducible with: 6000.0.11f1
Not reproducible with: 2022.3.22f1, 6000.0.13f1
Could not test with: 2023.2.16f1 (could not load Subscene)
Fixed in: 6000.0.12f1
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
- Not reproducible when Entities and Entity Graphics package versions are 1.2.0-pre.6
- Make sure the Subscene is loaded, however not open
- Errors are almost the same, except all have different Shader passes and Mesh IDs.
- Full error: A BatchDrawCommand was submitted with an invalid Batch, Mesh, or Material ID. Shader pass: DepthOnly, BatchDrawCommand index: 0, (index in range: 0), BatchDrawRange index: 0
This is not supported when rendering with a BatchRendererGroup (or Entities Graphics). MaterialID: 10 ("<null>"), MeshID: 27 ("<null>"), BatchID: 3.
- Could not find regression point due to errors and faliure to load the Subscene