Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Double click "Assets/InputSystem_Actions.inputactions" in the Project Browser
- Click on "All Control Schemes"
- Select "Add Control Scheme"
- Press the "Save" button
- Repeat step 3
- Select "Edit Control Scheme"
- Click on the name text field
- Press the Undo shortcut on the keyboard (alt+z or command+z)
- Observe the Console window
Actual results: "ArgumentOutOfRangeException: Specified argument was out of the range of valid values." error is thrown
Expected results: No errors are thrown
Reproducible with versions: 1.11.1 (6000.1.0a1), 1.12.0 (6000.2.0a1), 1.14.0, 1.14.1 (6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1)
Tested on (OS): Windows 11, macOS Silicon Sequoia 15.5