Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Select Directional Light in Hierarchy window
3. In Inspector window > Filter click on Color field
4. Click the Kebab Menu in the opened Color Picker Window
5. Select "Create New Library..."
6. Give name “NewLibrary”
7. Press Enter
8. Observe Editor
Actual results: Editor crash when creating new Library name
Expected results: Editor doesn’t crash when creating new Library name
Reproducible with versions: 6000.3.0a3 (14d049ebeaff), 6000.3.0b4, 6000.4.0a1
Not reproducible with versions: 6000.0.59f1, 6000.2.6f1, 6000.3.0a2 (d454866889d5)
Tested on (OS): macOS Sequoia 15.4 (M4) (not consistent), macOS Tahoe 26.0 (M1) (consistent)