Steps to reproduce:
1. Create new Unity project
2. Open Grid and Snap Settings in the Scene view window
3. In Grid Size, X value enter “NaN”
4. Observe the Scene view
5. Press on the kebab icon and Reset Grid and Snap Settings
6. Observe the Grid in the Scene view
Actual results: Grid stays invisible in Scene view, reseting Grid and Snap Settings doesn’t reset grid visibility
Expected results: Grid visibility should reset and be visible in Scene view, reseting rid and Snap Settings resets grid visibility
Reproducible with versions: 6000.4.1f1, 6000.5.0a9, 6000.6.0a1
Can’t test with versions: 6000.3.9f1 and lower (Grid and Snap Settings not available)
Tested on (OS): macOS Silicon Tahoe 26.3.1 (M1), Ubuntu 24.04