Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. In Hierarchy create Button object (Right-click > UI Toolkit > Standard Elements > Button)
3. In Inspector > Background, change Image mode from Texture to Gradient
4. Change Gradient Color
5. In Inspector > Background change Image Gradient to Texture
6. Observe Button in UI Viewport
Actual results: The Gradient color persists on the Button after switching Image mode from Gradient back to Texture
Expected results: The Button color reverts to the default grey when Image mode is switched back to Texture
Reproducible with versions: 6000.7.0a4
Can’t test with versions: 6000.6.0b7 and lower (Background Gradients are not available)
Tested on (OS): macOS Tahoe 26.6 (M1)
Notes:
- Not reproducing in UI Builder window