Reproduction steps:
1. Open the attached "Project.zip" project
2. Open the "Test Runner" window (Window > General > Test Runner)
3. Select the "Play Mode" option
4. Press the "Run All Tests (WebGL)" button
Expected result: Tests run successfully, the Player runs in the browser, and the "All test(s) succeeded" message is displayed
Actual result: Tests hang on "Building native binary with IL2CPP..." and the "Test execution timed out. No activity received from the player in 600 seconds" error appears in the Console after 10 minutes
Reproducible with: 2019.4.36f1, 2020.3.33f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a9
Reproducible with: macOS, Windows
Reproducible with: Google Chrome, Firefox
Notes:
- "Test execution timed out" error appears only after the first time running tests
- When running tests multiple times, results can be as such:
1. "An unexpected error happened while running tests." and other errors appear in the Console
2. Tests run successfully, the Player runs in the browser, but the page becomes unresponsive, or errors occur
- Tests run successfully on a standalone platform