Steps to reproduce:
- Create and open a new project
- Open 'File -> Build Settings'
- Create two Build Profiles and switch to one of them
- Add the 'Scripting Define' via "Add Settings"
- Add a new Scripting Define with any name
- Switch to the other Build Profile
- Click on "Revert" in the dialog box
- Select the first Build Profile and observe
Actual results: The added Scripting Define is displayed
Expected results: No Scripting Defines are displayed
Reproducible with versions: 6000.5.4f1, 6000.6.0a2, 6000.6.0b4, 6000.7.0a2
Not reproducible with versions: 6000.6.0a1
Can’t test with versions: 6000.0.79f1 (No Scripting Defines Setting), 6000.3.20f1 (No dialog box to accept/revert changes)
Tested on (OS): Windows 11 Pro (25H2)