How to reproduce:
1. Open the “InputTestRepro_FINAL” project
2. Open the Test Runner (Window > General > Test Runner)
3. Select the “Play Mode” section
4. Select “Run All Test”
Expected result: The Player is successfully built and tests are also executed successfully
Actual result: The Player fails to build with “CS0117” errors thrown in the Console
Reproduced with: 1.1.33, 1.3.7 (2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a21), 2.0.1-pre.18 (2021.3.28f1, 2022.3.4f1)
Could not test with: 2.0.1-pre.18 (2023.1.3f1, 2023.2.0a21) (“The XDK Xbox One platform was removed in 2021.1” error is thrown by Test-Framework package)
Reproduced on: macOS 12.6.5 (by reporter), Windows 11
Notes:
1. With Test-Framework 2.0.1-pre.18 the interface has somewhat changed → in the Test Runner window on the top left set “Run Location” to “On Player”, then select “Run All” on the bottom right of the window
2. Not reproducible when line 22 is removed in the “PlayerWithTestsModifier” Script
3. In 2021.3.28f1 with Test-Framework 2.0.1-pre.18 the issue was still reproducible when line 22 is removed in the “PlayerWithTestsModifier” Script
Errors thrown to the Console after a failed build:
Error #1:
Error #2: