Reproduction steps:
1. Open the attached “WebglBuildTest.zip“ project
2. Select the WebGL platform
3. Build And Run the project and observe the Console
Expected result: The Build is successful and no errors are thrown
Actual result: The Build fails and “Internal build system error. Backend has requested a buildprogram run 6 times. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:197)“ error is thrown
Reproducible with: 2022.2.19f1, 2022.2.20f1, 2023.1.0b16, 2023.1.0b17
Not reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.18f1, 2023.1.0b15, 2023.2.0a16
Reproduced on: macOS Ventura 13.3.1 (Intel), Windows 11 (by the reporter)