Steps to reproduce:
- Create a new project using 3D URP template
- Create a new UI Document (Assets > Create > UI Toolkit > UI Document)
- Open the .uxml file in UI Builder
- Add a Visual Element to the Hierarchy
- In the Inspector, navigate to the Text > Text Effects > Shadow foldout
- Enter any value into the "Offset" property and "Blur Radius" property
- Click Ctrl+S/Command+S shortcut to save
- Observe the Console
Actual results: "Blur Radius" value resets to previous value and "IndexOutOfRangeException: Index was outside the bounds of the array." error is thrown
Expected results: "Blur Radius" value remains as entered and no errors are thrown
Reproducible with versions: 6000.0.0b12, 6000.0.72f1, 6000.3.13f1, 6000.4.3f1, 6000.5.0b4, 6000.6.0a3
Not reproducible with versions: 6000.0.0b11
Tested on (OS): macOS 26.4, Ubuntu 24.04
Notes:
- In versions before regression no error is thrown but the value is still reverted to the previous one, so the regression in this case is only the error
- Does not reproduce when saving via File > Save
- Reproduces if any additional value is change in addition to modifying the "Blur Radius"