Unity Issue Tracker - "GL_INVALID_OPERATION" errors and Render Passes do not render correctly when building for WebGL with "WebGL 2" Graphics API
Closed
UUM-96046
"GL_INVALID_OPERATION" errors and Render Passes do not render correctly when building for WebGL with "WebGL 2" Graphics API
Unity: WebGL
Won't Fix
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
This issue seems to have been resolved indirectly by other changes to URP.
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “Rendergraph_webgl_issue.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Observe the Game view
5. Exit the Play mode
6. Build and Run the project for WebGL (File > Build and Run)
7. Observe the Player in the browser and the browser Console (F12)
Expected result: The WebGL Player matches the Game view and no errors are in the browser Console
Actual result: The WebGL Player does not render correctly and many “[.WebGL-0x21ac00114d00] GL_INVALID_OPERATION” errors are visible
Reproducible with: 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Couldn't test with: 2021.3.48f1, 2022.3.57f1 (RenderGraph not supported)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
Does not reproduce when Graphics API is “WebGPU” or when building for Windows platform
Errors: "[.WebGL-0x21ac00114d00] GL_INVALID_OPERATION: Attempt to read from a missing color attachment of a complete framebuffer.Understand this warningAI" and "[.WebGL-0x21ac00114d00] GL_INVALID_OPERATION: Attempt to blit from a multisampled framebuffer and the bounds or format of the color buffer don't match with the draw framebuffer."
Prioritise and Follow this issue
Have a workaround or additional info about this issue?