Vector Graphics Preview Package

EDIT: Found my answer over here Unity UI SVG support script . Since it was a gradient svg I needed to enable TextCoord2 in the “Additional Shader Channel” for the Canvas.

I have an SVG with Generated Asset Type = “UI SVGImage”.

I’d like to use this in my UI on a Screen Space - Camera canvas.

The preview looks fine below but when I try to drag it into the canvas, or assign it to a SVG Image component I get a blank white square. What am I doing wrong here?

Here is the import and correct-looking preview:

Here is the SVG Image component in the scene that produces the plain white square:

9697760--1384193--upload_2024-3-12_23-23-43.png