Steps to reproduce:
- Ensure that the Windows Build Support module is installed via HUB
- Open a Unity Project
- Open Build Profiles via Window > Build Profiles
- Ensure that Windows is not selected as the platform
- Select the Windows platform and click 'Switch Platform'
- Observe the console
Actual results:
Multiple Shader errors appear in console saying that compilation failed as the platform doesn't support Ray Tracing Shader compilation.
Expected results: There are no Shader errors in console when switching
Reproducible with versions: 6000.1.0a10, 6000.1.0a2
Not reproducible with versions: 6000.0.33f1, 2022.3.53f1
Can't test with versions: -
Tested on (OS): Ubuntu 24.04, MacOS
Notes:
- Errors are cleared after a few seconds. This is likely due to this other bug: [Internal link] Build failure errors are cleared in console before you can read them - Unity JIRA
- While this is a regression, I could not find out if the FAV was 6000.1.0a2 or 6000.1.0a1 as 6000.0.0a1 restarts the editor when switching build platform so you can't see if any errors appear.