N.B. From Jukkaj: This bug is not specific to WebGL, but a generic SRP error. I did not want to change the title since experience shows that has a chance of throwing people off since they no longer remember to connect the bug to their earlier memory. After the WebGL part of this issue is fixed, it looks like a more accurate title for this bug would be
"[SRP, OpenGLES3?] Build fails and Shader errors are logged (both in Development and Release builds)"
---------------
Reproduction steps:
1. Open the attached “WebGL bug.zip“ project
2. Build And Run the project
3. Observe the Console
Expected result: The project is built successfully and no errors are thrown
Actual result: Build fails and errors are thrown
Reproducible with: 2022.2.0a1, 2022.3.2f1, 2023.1.0f1
Not reproducible with: 2021.3.27f1
Could not test with: 2022.1.0a1, 2022.1.0a16 (Errors due to downgrading), 2023.2.0a19 (Errors due to upgrading)
Reproduced on: macOS Ventura 13.3.1 (Intel), Windows 10 (by the reporter)
Notes:
- Couldn’t find regression point due to 2022.1 alpha versions not being testable due to downgrading errors
- Reproduces on a new project