Unity Issue Tracker - The "GraphicsBuffer.SetCounterValue" method does not set the counter value when used in the WebGL application with the WebGPU backend
Fixed
UUM-78053
The "GraphicsBuffer.SetCounterValue" method does not set the counter value when used in the WebGL application with the WebGPU backend
Unity: WebGPU
Fixed
6.0.X
Won't Fix
6.1.X
Fix counter buffer usage with WebGPU, and resolve an issue with a possible crash from AsyncGPUReadback.
How to reproduce:
1. Open the “CounterTest“ project
2. Open the “Test“ scene
3. Navigate to “File > Build Profiles“
4. Build and Run for the WebGL platform
5. Observe the Label in the top left corner
Expected result: The Label is displaying the values between 0 and 3
Actual result: The Label is displaying values that increase indefinitely
Reproducible with: 6000.0.15f1
Could not test with: 2021.3.42f1, 2022.3.42f1 (WebGPU backend in Unity not supported)
Reproducible on: macOS 14.5 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested
Note: Works as expected in the Play Mode in the Editor
Prioritise and Follow this issue
Have a workaround or additional info about this issue?