Unity Issue Tracker - CPU spike in BatchRenderer.Flush when using "Graphics.DrawMeshInstanced" on WebGL
Closed
UUM-17461
CPU spike in BatchRenderer.Flush when using "Graphics.DrawMeshInstanced" on WebGL
Unity: WebGL
WebGL
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
Canceling port as Unity 2022.1 is near its end of support.
Canceling ports as 2020.3 has reached its end-of-support lifetime, and is no longer accepting fixes.
How to reproduce:
1. Open the user’s attached project
2. Open Build Settings
3. Enable Development Build, Autoconnect Profiler, and Deep Profiling Support
4. Build And Run
5. Observe the Profiler window
Expected result: no spikes in Profiler caused by Instanced Rendering
Actual result: there is a spike in BatchRenderer.Flush