Reproduction can be achieved by using a UIGradient constraint and setting Rotation to 45 or 135 degrees (or equivalent cycle successors thereof) and adding 5 sequence points (interestingly if there are just 3 sequence points it seems to flip the direction to what is expected)
(not included in test file but is simply white at position 0.5, black either side at the indicated rotation values)
Expected Behavior
I expect the gradient to produce a thin distinct white line down the axis x=y (or x=-y) when the rotation is set to 45 or 135 degrees respectively.
Actual Behavior
A peculiar ghosting/shadow effect seems to result in colours jumping across boundaries (might specifically be the colour at position = 0)
Workaround
Using rotation values of 44/46 & 134/136 degrees instead albeit not perfect.
Issue Area: Engine Issue Type: Display Impact: Moderate Frequency: Often Date First Experienced: 2021-07-08 00:07:00 (+01:00) Date Last Experienced: 2021-07-08 00:07:00 (+01:00)
I can confirm this is indeed a bug although it is a bug I use to my favor, I enjoy using mostly Roblox to create my UIs any this UI Glitch just happened to work in my favor for creating cool effects through this property.
This really needs to be fixed. The repro still works and this bug is still causing tons of issues.
I can’t use gradients for something because of this and its super frustrating
I think they should fix this considering it’s such a severe bug that can be observed in many games, but I totally get your use-cases. Roblox UI is in a weird state where there are so many potentially useful features, such as UICorner and UIGradient, but they just haven’t been expanded upon for years and years, leaving them missing important functionality.
Examples:
UIGradient only allows linear gradients, not radial, or any of the other many types
UICorner only allows the changing of ALL the corner radiuses for a given element, you must use hacky methods to make elements that appear to have varying corners.
Both examples are things that are found in other popular engines
Hi, we recently released a fix for this and it should be effective in studio, do you mind verifying your repros to see if it still have issues? We are also gradually rolling it out to clients in the following weeks.