Unity Issue Tracker - Crash on ScriptableBatchRenderer::RenderMultipleMeshes when entering the Play mode on a specific project
Fixed
UUM-73300
Crash on ScriptableBatchRenderer::RenderMultipleMeshes when entering the Play mode on a specific project
Unity: Graphics Device Features
Fixed
6.0.X
The sample code provided for BatchRendererGroup did not set the BatchDrawCommandType as part of the BatchDrawRange setup. Affected code should only need to update this flag to resolve any crashes.
Reproduction steps:
1. Open the attached project “AltCrashRepro”
2. Enter the Play mode
Expected result: The Play mode starts
Actual result: Editor crashes
Reproducible with: 2023.3.0a12, 6000.0.4f1
Not reproducible with: 2022.3.31f1, 2023.3.0a11
Couldn’t test with: 2021.3.39f1 - Console errors (“error CS0246: The type or namespace name 'BatchCullingOutput' could not be found“)
Reproducible on: Windows 10
Not reproducible on: macOS 14.5 Sonoma (Intel)