Steps to reproduce: # Create a new 3D URP project
- In the Hierarchy, create an Empty GameObject
- In the Inspector, add "Lens Flare (SRP)" Component
- Click "New" two times to create two assets
- Select one of those assets
- In the Inspector, click + button in the Elements list to add an element
- Change the Type to "Lens Flare Data SRP"
- Assign another created Lens Flare SRP asset
- Observe the Console
Actual results: "NullReferenceException: Object reference not set to an instance of an object" is thrown and the asset does not remain selected
Expected results: No errors are thrown, and the assigned Lens Flare SRP asset remains selected
Reproducible with versions: 6000.3.0f1 (d1870ce95baf), 6000.3.15f1, 6000.4.7f1, 6000.5.0b7, 6000.6.0a4
Not reproducible with versions: 6000.0.75f1, 6000.3.0b10
Can't test with: 6000.3.0b1-6000.3.0b5 ("Ambiguous match found" errors prevent from selecting the Asset itself - the Inspector is empty in these versions on 6th step)
Tested on (OS): Windows 11, macOS 26.4