Copyright © 2026 Unity Technologies
Steps to reproduce:
:root { --my-col: rgb(20, 200, 90); } .nested-f { background-image: linear-gradient(var(--my-col), blue); }
Actual results: "InvalidOperationException: Operation is not valid due to the current state of the object." error is thrown
Expected results: No errors
Reproducible with versions: 6000.7.0a4
Can’t test with versions: 6000.3.21f1, 6000.5.6f1, 6000.6.0b6, 6000.7.0a3 (Gradients feature not available in background-image)
Tested on (OS): macOS 26.5
Issues you vote on will appear here