Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Open Build Profiles window
3. Add macOS Module
4. Add Graphics Settings in Build Profiles window
5. In Keyword Declaration Overrides > Empty List press “+”
6. Click on kebab button and select “Remove”
7. In “Remove Settings” press “Remove” button
8. In “Unapplied Changes” select “Apply”
9. Observe the Console window
Actual results: “Invalid keyword declaration override at index 0: Keyword declaration override cannot be empty.
UnityEditor.GenericMenu:CatchMenu (object,string[],int) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:164)” error is thrown in the Console window after removing setting
Expected results: No errors in the Console after removing setting
Reproducible with versions: 6000.6.0b7, 6000.7.0a4
Can’t test with versions: 6000.5.7f1 and lower (No feature to add Graphics Settings)
Tested on (OS): macOS Tahoe 26.6 (M1)