Change log
[2.0.0-preview.25] - 2024-11-06
Add version 2.0.0-preview.25 by name.Fixed
- (VGB-13) Fixed incorrect VectorImage gradient texture Format in linear project.
- (VGB-15) Fixed SVG Image Data is not parsed when importing SVG files with binary data that has a MIME type of image/PNG.
[2.0.0-preview.24] - 2024-01-19
Add version 2.0.0-preview.24 by name.Fixed
- Fixed RenderSpriteToTexture2D not working in builds because of wrong shader name
[2.0.0-preview.23] - 2024-01-16
Add version 2.0.0-preview.23 by name.Fixed
- Fixed bad interaction between alpha-demultiplication and edge expansions
[2.0.0-preview.22] - 2024-01-16
Add version 2.0.0-preview.22 by name.Fixed
- Fixed textured sprites edge artifacts [VGB-9]
[2.0.0-preview.21] - 2023-04-19
Add version 2.0.0-preview.21 by name.Fixed
- Fixed flags parsing in paths [VGB-5]
- Added support to preserve viewport when importing in UI Toolkit Vector Image [VGB-3]
[2.0.0-preview.20] - 2022-08-05
Add version 2.0.0-preview.20 by name.Fixed
- Remove forced keyword ETC1_EXTERNAL_ALPHA in Unlit/Vector materials [UUM-836 > UUM-10248]
- Fixed gradient instructions used in for-loop shader warnings
- Fixed broken alpha-blending when importing in textured asset [VGB-1]
[2.0.0-preview.19] - 2022-04-20
Add version 2.0.0-preview.19 by name.Fixed
- Fixed textured sprite alpha issue (case 1411243).
- Fixed gradient fill type after cloning.
Changes
- Added HSL color support.
[2.0.0-preview.18] - 2021-11-02
Add version 2.0.0-preview.18 by name.Fixed
- Fixed SVGImage content not updating because of missing CanvasRenderer
- Fixed wrong path winding order, causing masking issues with UI Toolkit.
- Fixed support for '+' prefix in path definition (used by Vectornator)
[2.0.0-preview.17] - 2021-06-09
Add version 2.0.0-preview.17 by name.Fixed
- Fixed missing stats over vector sprite asset preview
[2.0.0-preview.16] - 2021-04-30
Add version 2.0.0-preview.16 by name.Fixed
- Fixed null-reference exception occurring in IL2CPP builds
[2.0.0-preview.15] - 2021-04-19
Add version 2.0.0-preview.15 by name.Fixed
- Fixed prefab transform reset during asset rename
- Added missing dependencies in package.json
[2.0.0-preview.14] - 2021-01-11
Add version 2.0.0-preview.14 by name.Fixed
- Fixed path arcs when the sweep angle is very small
- Sanitized tessellation options to prevent infinite loops
[2.0.0-preview.13] - 2020-09-08
Add version 2.0.0-preview.13 by name.Changes
- Moved SVGImage/SVGImageEditor to the Unity.VectorImage namespace
- Renamed UIElements assets to UI Toolkit assets
- Added support for rgba() colors
Fixes
- Fixed WebGL unrepresentable float error during segment length evaluation
- Fixed image fills not working when defined later in the file
[2.0.0-preview.12] - 2020-02-13
Add version 2.0.0-preview.12 by name.Changes
- Added a "Textured Sprite" option to use the SVG's pixels per unit instead of the texture
Fixes
- Fixed gradients not showing properly on Metal
- Prevent hang while evaluating segment length with large coordinates
[2.0.0-preview.11] - 2019-12-04
Add version 2.0.0-preview.11 by name.Fixes
- Fixed CSS class used on root svg element
- Properly handling referenced stop data defined later in the file
- Fixed alpha blending for UI shaders
- Fixed path corners in polygon definitions
[2.0.0-preview.10] - 2019-11-19
Add version 2.0.0-preview.10 by name.Fixes
- Added support for RectMask2D
- Fixed sRGB support for UI shaders
- Fixed unmatched BeginSample/EndSample in GenerateAtlas()
[2.0.0-preview.9] - 2019-11-15
Add version 2.0.0-preview.9 by name.Fixes
- Fixed invalid VectorExpandEdges.shader path
[2.0.0-preview.8] - 2019-11-06
Add version 2.0.0-preview.8 by name.Changes
- Added "uGUI SVGImage" asset type, which sets the proper stencil state for uGUI's masking system
Fixes
- Fixed VectorImage winding order
- Fixed LibTess preprocessor-dependent namespaces
[2.0.0-preview.7] - 2019-10-24
Add version 2.0.0-preview.7 by name.Changes
- Gradient support for strokes
[2.0.0-preview.6] - 2019-09-23
Add version 2.0.0-preview.6 by name.Changes
- Changed default gradient resolution from 128 -> 64 pixels to help batching with UIElements renderer
Fixes
- Using serializable VectorImageVertex (only works on 2019.3b4 and later)
[2.0.0-preview.5] - 2019-08-01
Add version 2.0.0-preview.5 by name.Fixes
- Fixed pivot wrongly computed on textured sprites when SVG origin alignement is selected (case 1172332)
- Added preserve aspect ratio in SVGImage
[2.0.0-preview.4] - 2019-07-08
Add version 2.0.0-preview.4 by name.Fixes
- Fixed ArgumentOutOfRangeException when closing paths with not enough segments
- Fixed textured-sprite import issue after a full project reimport
[2.0.0-preview.3] - 2019-06-26
Add version 2.0.0-preview.3 by name.Changes
- Added a new asset import type (UIElements Vector Image) for upcoming UIElements support in Unity 2019.3.
Fixes
- Fixed 'T' path instruction not computing the proper reflected control point
[2.0.0-preview.2] - 2019-06-18
Add version 2.0.0-preview.2 by name.Changes
There are some breaking changes when going from 1.0.0-preview
to 2.0.0-preview
:
- The deprecated API have been removed. Most notably, the removal of the
IDrawable
interface. - The texture atlas layout for the gradient settings was changed. It now stores gradient settings in the first 3 columns of the atlas instead of the first row. This allows for a more efficient atlas packing. If you made a variant of the
Unlit/VectorGradient
shader, you may have to update it. - The
SVGImporter
will now ignore the rootviewBox
attribute by default. Use the "Only Apply Root ViewBox" viewport option to bring back the old behavior.
Fixes
- Fixed flipYAxis in FillMesh API
[1.0.0-preview.26] - 2019-05-01
Add version 1.0.0-preview.26 by name.Fixes
- Removed unused variable to fix warning
[1.0.0-preview.25] - 2019-05-01
Add version 1.0.0-preview.25 by name.Changes
- Importing SVG from editor code allows local Texture2D references
- URL scheme whitelisting on image tags
- Using next power-of-two texture size, fixes gradient issues on some Android devices
Fixes
- Fixed pivot not being applied on textured sprite assets
- Fixed SVGParser rotation center in transforms
[1.0.0-preview.24] - 2019-04-04
Add version 1.0.0-preview.24 by name.Fixes
- Applying material's color in VectorGradient.shader
- Fixed duplicated points causing issues with polygons
- Added repository information to package.json
[1.0.0-preview.23] - 2019-01-04
Add version 1.0.0-preview.23 by name.Changes
- Deprecating Matrix2D.Rotate in favor of RotateRH and RotateLH
- Added support for gradient fills defined later in the file
Fixes
- Fixed invalid SVG pen position when 'z' command occurs after 'm'
[1.0.0-preview.22] - 2018-11-16
Add version 1.0.0-preview.22 by name.Changes
- Proper support for styling in symbols
Fixes
- Fixed precision issues with dashed strokes
- Fixed modifying node hierarchy while iterating through it
- Fixed CSS data parsing
- Clearing temp render texture when expanding edges
- Fixed instancing for gradient shader
[1.0.0-preview.21] - 2018-10-23
Add version 1.0.0-preview.21 by name.Changes
- Added support for borders (slices) for textured sprites
- SVGImageEditor is now fallback custom editor
Fixes
- Fixed viewport clipping working when viewBox is applied
- Fixed dark outlines when rendering to texture
- Fixed alpha-blending in VectorGradient.shader
- Silenced obsolete warnings because of WWW usage
[1.0.0-preview.20] - 2018-09-26
Add version 1.0.0-preview.20 by name.Changes
- Removed "Per-Axis" texture wrap mode
Fixes
- Fixed sprite value not being set in SVGImage's sprite property
[1.0.0-preview.19] - 2018-09-24
Add version 1.0.0-preview.19 by name.Changes
- Using viewBox for relative coordinates, when available
Fixes
- Fixed issue with gradient user-units when no viewBox is specified
[1.0.0-preview.18] - 2018-09-21
Add version 1.0.0-preview.18 by name.Changes
- Improved texture import editor. Better basic tessellation defaults.
- Enabled GPU instancing, _RendererColor works out-of-the-box
- Made the auto-computed tessellation options less aggressive
- Allowing different width/height when importing to a texture
- Moved external libraries to their own namespaces
- Moved the sprite stats over the preview
- Filling atlas with opaque black to help with SVG sprite picking
- Support for sample count (for import-to-texture)
- Setting DtdProcessing to ignore
Fixes
- Fixed flipped winding order when flipYAxis is false
- Fixed SVGImageEditor for 2018.1
[1.0.0-preview.17] - 2018-09-13
Add version 1.0.0-preview.17 by name.Changes
- Support for sprite mesh type on textured sprites
[1.0.0-preview.16] - 2018-09-13
Add version 1.0.0-preview.16 by name.Changes
- Node-by-id support
- Added SVGImage for Canvas UI
- Preserve viewport option
- Support for auto-generate physics outline
- Setting Closed=true closes the path connecting the last segment to the first instead of a straight line
- First iteration of "import to texture" feature
- Deprecated Rectangle, Path, Filled and IDrawable. Only Shape remains.
- Improved SVGOrigin and pivot support
- Added support for flipYAxis in FillMesh method
- Multiple object editing improvements
Fixes
- Fixed relative positioning with viewBox
- Fixed elliptical-arc-to error with large sweep angles
- Fixed polygon winding after transform
- Fixed
<use>
always overriding fill/stroke even when not set - Fixed "ProhibitDtd" obsolete warning on .NET 4.x backend
- Fixed issues with symbols and patterns usage
- Fixed support for empty 'd' elements
- Fixed issue when symbols are defined after
<use>
- Fixed invalid SVG Origin when Y-axis is fipped
- Fixed sprite editor align/pivot to not interfere with SVG origin value
- Fixed missing Apply() after atlas generation
[1.0.0-preview.15] - 2018-07-18
Add version 1.0.0-preview.15 by name.Changes
- Updated CHANGELOG.md
[1.0.0-preview.14] - 2018-07-17
Add version 1.0.0-preview.14 by name.Changes
- Added QuadraticToCubic helper method
Fixes
- Taking pixels-per-unit into account to compute tessellation settings
- Fixed rgb() color attributes not parsed properly
- Early exit when trying to tessellate paths without enough segments
- Fixed viewbox computation that were lost during tessellation
- Fixed namespace issues with 2018.3+
- Skip stroke tessellation if the width is 0
[1.0.0-preview.13] - 2018-06-11
Add version 1.0.0-preview.13 by name.Changes
- Showing imported sprites stats
Fixes
- Elements with display:none are not displayed anymore
- Fixed parse issue when loading an unsupported texture from the image tag
[1.0.0-preview.12] - 2018-06-07
Add version 1.0.0-preview.12 by name.Fixes
- Using culture invariant float parsing
- Fixed import error when using percentage sizes in svg tag
[1.0.0-preview.11] - 2018-06-05
Add version 1.0.0-preview.11 by name.Fixes
- Fixed some precision issues
- More conservative processing of 'none' for 'stroke-dasharray'
- Revert "Fixed handling of 'none' styles"
[1.0.0-preview.10] - 2018-05-23
Add version 1.0.0-preview.10 by name.Fixes
- Adjusting the triangle's winding order after scene tessellation
[1.0.0-preview.9] - 2018-05-15
Add version 1.0.0-preview.9 by name.Changes
- Renamed Third-Party Notices
Fixes
- Fixed handling of 'none' styles
[1.0.0-preview.8] - 2018-05-05
Add version 1.0.0-preview.8 by name.Changes
- Support for multiple SVG editing
- Updated documentation after docs team revision
[1.0.0-preview.7] - 2018-04-26
Add version 1.0.0-preview.7 by name.Changes
- Optimized path for convex shapes
Fixes
- Fixed SVG StreamReader not being closed
- Fixed polyline corners
[1.0.0-preview.6] - 2018-04-24
Add version 1.0.0-preview.6 by name.Changes
- Physics outline fixes and using preview texture for Sprite Editor, when available
- Improved sampling step distance tooltip text
- Removed skin-based animation tools
[1.0.0-preview.5] - 2018-04-18
Add version 1.0.0-preview.5 by name.Changes
- Added Third-Party Notices
- Added MakeArc_MakesArcInClockwiseDirection test
[1.0.0-preview.4] - 2018-04-13
Add version 1.0.0-preview.4 by name.Changes
- MakeArc now returns a BezierPathSegment[] instead of BezierSegment[]. Added BezierSegmentsToPath API.
- Using the new code naming conventions (CamelCase for properties)
[1.0.0-preview.3] - 2018-04-09
Add version 1.0.0-preview.3 by name.Changes
- Exposed BuildRectangleContour API
[1.0.0-preview.2] - 2018-04-05
Add version 1.0.0-preview.2 by name.Changes
- Moved SVGParser to Unity.VectorGraphics namespace
[1.0.0-preview.1] - 2018-04-04
Add version 1.0.0-preview.1 by name.- Initial release