Search Issue Tracker

Active

Under Consideration for 6000.2.X, 6000.3.X, 6000.4.X

Votes

1

Found in

6000.1.9f1

6000.2.0b7

6000.3.0a1

6000.4.0a1

Issue ID

UUM-110641

Regression

No

SVGs with a gradient are displayed incorrectly in the UI Toolkit when loaded from the Resource folder

-

How to reproduce:
1. Open the attached “IN-104861” project
2. Open the “SampleScene” Scene
3. Observe how the SVG is referenced in the Demo.uxml file (Assets > UI > Demo.umxl)
4. Open the Game view
5. Observe the result

Expected result: The SVG shows as a smooth gradient
Actual result: The SVG shows as an incomplete gradient

Reproducible with: 2.0.0-preview.2 (6000.0.51f1, 6000.1.9f1, 6000.2.0b8), 2.0.0-preview.25 (2022.1.0a1, 2022.3.63f1, 6000.0.51f1, 6000.1.9f1, 6000.2.0b8)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: The gradient SVG shows correctly when it’s loaded as a URL

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.