Steps to reproduce:
1. Create new Unity project using Universal 2D Template
2. In Hierarchy window create Freeform Light 2D (Light > Freeform Light 2D > Square)
3. Open Freeform foldout in Inspector window
4. In “Falloff” enter “Infinity” value
5. Observe the Console window
Actual results: Errors are spammed in the Console window “The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.”, “ClipperException: Coordinate outside allowed range”, “GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.”
Expected results: the “Infinity” value is rejected and reverted back to the previous valid value without any errors being thrown in the Console window
Reproducible with versions: 6000.0.74f1, 6000.3.14f1, 6000.4.6f1, 6000.5.0b6, 6000.6.0a4
Tested on (OS): macOS Silicon Tahoe 26.4.1