Steps to reproduce:
- Create a new Unity project
- Open the Overlay menu (burger button in the Scene View)
- Click on the "Default" dropdown
- Click the "Save Preset..." button
- Enter Play Mode using the shortcut (command + p/control + p)
- Observe the Console window
- Repeat steps 3 and 4
- Observe the Overlays menu
Actual results: “UnityException: GetInvalidFilenameChars” errors are thrown, and the "Save Preset..." button no longer works
Expected results: No errors are thrown
Reproducible with versions: 6000.0.58f1, 6000.2.6f1, 6000.3.0b2
Can’t test with versions: 2022.3.66f1 (no Overlays feature)
Tested on (OS): Ubuntu 24.04, MacOS Silicon Sequoia 15.6.1