How to Reproduce:
1. Open the attached “IN-142893” project
2. Open “Build Profiles” window
3. Make sure that under “Windows” Platform Settings, “Architecture” is set to “Intel 32-bit”
4. Switch Active Profile to “Android”
5. Switch Active Profile back to “Windows”
6. Observe latest Console Log
Actual Result: Latest Console Log says “Active Build Target Changed: StandaloneWindows64”
Expected Result: Latest Console Log says “Active Build Target Changed: StandaloneWindows”
Reproducible with: 2023.3.0b1 (8ec5c23b39da), 6000.0.76f1, 6000.3.16f1, 6000.4.9f1, 6000.5.0b10, 6000.6.0a6
Not reproducible with: 2023.3.0b1 (a9472903d2b0)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Script prints “Active Build Target Changed: StandaloneWindows64” after following the reproduction steps but the “Build Profile” → “Windows” → “Platform Setting” → “Architecture” still shows “Intel 32-bit”. Also, after this if you manually switch it to “Intel 64-bit”, there would be no compilation
- The reproduction steps tells to switch back from “Android” but the problem is still there if we switch back from any other platform (Android, Mac and Universal Windows Platform are tested)