Steps to reproduce:
1. Create new Unity project
2. In Project window create Lens Flare (Create > Rendering > Lens Flare (SRP)
3. Select Lens Flare Asset in the Project window
4. In the Inspector window > Elements field time large number (for example 10000000000000)
5. Press Enter
6. Observe the Editor
Actual results: “Fatal Error! The file 'MemoryStream' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
UnityEditor.Rendering.LensFlareDataSRPEditor:DrawListFooter (UnityEngine.Rect)” Pop-up is thrown, after quitting, Editor is closed
Expected results: Field should minimize the maximum number limit which should not cause fatal error to be thrown
Reproducible with versions: 6000.0.56f1, 6000.1.16f1, 6000.2.2f1
Not reproducible with versions:
Can’t test with versions: 6000.3.0a1 (due to errors thrown when creating Lens Flare > [Internal link])
Tested on (OS): macOS Silicon, Sequoia 15.6 (M1)