Search Issue Tracker
Fixed
Fixed in 6000.6.0a6
Under Consideration for 6000.3.X, 6000.4.X
Votes
0
Found in
6000.3.15f1
6000.4.6f1
6000.5.0b7
6000.6.0a6
Issue ID
UUM-141838
Regression
Yes
NullReferenceException is thrown when assigning a Lens Flare SRP asset to a Lens Flare Data SRP element
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AdaptiveLOD sample has missing prefabs and throws missing prefab errors when the AdaptiveLOD sample is imported and the AdaptiveLOD scene is opened
- Error "transform.position assign attempt for 'x' is not valid" is logged when Moving Game Object to View while a Scene is multi selected
- [Desktop] Plastic move detection mixes up identical files
- SVG Icon has tessellation issues in "Antialiased Arc Encodings", ok with "Basic Triangulation"
- "You may not pass null objects" and "Maximized serialized file backup not found" errors are thrown when maximizing and minimizing docked Multiplayer Play Mode window after Multiplayer Play Mode package is uninstalled
Resolution Note:
Fixed in 6000.6.0a6
Resolution Note (fix version 6000.6.0a6):
Fixed in 6000.6.0a6