DANB-328 Fix case where BezierUtility.BezierPoint function parameters are not in the right order
DANB-307 Fix case where Error �A Native Collection has not been disposed, resulting in a memory leak occurs in Play Mode
DANB-279 Fix case where Spriteshape with tangents enabled has shadow artifacts after reopening the project
[9.0.1] - 2022-10-11
Fixed
DANB-177 Fix case where SpriteShapeController does not initialize collider data.
DANB-224 Fix case where adding a new element to Custom Geometry Modifier spams errors.
[9.0.0] - 2022-08-03
Changed
Refactored internal triangulation and tessellation APIs.
[9.0.0-pre.1] - 2022-03-21
Added
Added versioning for GeometryCreator and GeometryModifier scripts so SpriteShape geoemetry is regenerated when it changes.
Fill Tessellation in C# Job is now set as default tessellator. GC allocations are reduced when using this option.
Fixed
1394404 Fix case where Tangent Data is always saved even when not in use for SpriteShapeRenderer when GeometryCache is active.
1391968 Fix case where "Invalid memory pointer was detected in ThreadsafeLinearAllocator::Deallocate!" error is thrown when Sprite is in Atlas with Tight Packing
1399392 Fix case where SpriteShape with Cache Geometry enabled does not update arrays when saving scene off-screen.
1400229 Fix case where SpriteShape corner does not respect the ControlPoint height.
1387298 Fix case where SpriteShape throws ArgumentException error when checking position validity of a point added to Spline
1401376 Fix case where Shape of PolygonCollider2D doesn't update when Sprite Shape contains vertex at [0,0] and it's Profile doesn't have any Sprites.
[8.0.0] - 2022-01-25
Changed
Package release version.
Fixed
1392653 Fix case where SpriteShapeGeometry Cache does not update when n selecting a different Object when EditTool is active.
[8.0.0-pre.5] - 2021-11-24
Fixed
1367509 Fix case where SpriteShapeProfile corner fields disappear when a field above has been deleted in the Inspector.
1363468 Fix case where shortcut keys do not work after editing sprite variant list in SpriteShape Controller.
1382718 Fix Case when setting SpriteShape corners to Disabled, the first corner does not visually change
[8.0.0-pre.4] - 2021-10-21
Changed
Update to latest com.unity.2d.common package
[8.0.0-pre.3] - 2021-10-18
Fixed
Fixed package.json to remove com.unity.2d.path dependency.
[8.0.0-pre.2] - 2021-10-11
Fixed
1368107 Fix case where Bounds can cause spriteshape not load in when running Player.
1364012 Fix crash when optimizing the geometry of the SpriteShape in certain cases.
[8.0.0-pre.1] - 2021-08-06
Added
Add actionable console log when encounter vertex count limit exception
Improved estimation of vertices required for geometry to minimize memory alloction.
Added user preferences for Controlpoint/Tangent/Spline color.
Added support for Global Grid Snapping.
Changed
Remove dependency to path package
Moved Control point specific data from Inspector to a Scene Overlay Window.
Fixed
Fixed Bounds of SpriteShapeRenderer.
Update manual to reflect reorganization of menu item.
1346430 Fix case where all open Scenes were dirtied when editing a SpriteShape Spline.
1343836 Fix case where triangular spriteshape with 0 offset collider does not generate collision shape.
1356204 Fix case where Sprite Shapes appear only when their pivot is revealed in the Scene view.
1348701 Fix case where colliders do not extend to the end of the sprite texture when Sprite Borders are enabled.
1362440 Fix case where Edge and Polygon colliders have missing edges on certain open-ended shapes.
1363215 Fix case where enabling Fill Tessellation and setting profile's fill offset to positive causes errors.
1368129 Fix case where Sprite Shape default materials were not initialized correctly.
[7.0.0-pre.3] - 2021-05-17
Changed
Update dependency version
[7.0.0-pre.2] - 2021-05-14
Changed
Update dependency version
[7.0.0-pre.1] - 2021-05-05
Fixed
1274010 2D light is rendered in half in its Y-axis when two Sprite Shape objects with same Order In Layer are visible on the Screen
1313579 SpriteShape Prefabs does not work properly when GeometryCache is enabled.
1315086 When SpriteShapeController has "Update Collider" set to true, it will dirty the scene every time its selected
1306434 PrefabStage is moving out of UnityEditor.SceneManagement.Experimental namepace in 2021.2
1319096 At certain cases, vertex data allocation may not be enough and overflows.
1321978 Edge collider 2D and polygon collider 2D creates different collision shapes during playmode
1317728 On deselecting game object from the Inspector window leads to deselecting Sprite Shape Renderer
1326983 SpriteShape Cache Geometry does not update when changing SpriteShape Profile.
Changed
Version bump for Unity 2021.2
[6.0.0] - 2021-03-17
Changed
Update version for release
[6.0.0-pre.3] - 2021-02-28
Fixed
1294930 Exception thrown continuously on creating Range in the preset of Sprite Shape when Undo/Redo operation is performed earlier
1303998 Enabling Fill Tessellation on controller and setting the profile's fill offset to negative causes errors
1293760 Sprite Shape generates Edge Colliders with deformed corners
1305867 Sprite shape edge collider has a gap at end point if optimise collider is disabled
1286378 Sprite Shape incorrect normal generation
[6.0.0-pre.2] - 2020-11-25
Changed
Update license file
Fixed
1273635 Fixed error when adding AngleRange to SpriteShapeProfile Preset that was reset before.
1287237 Fixed ArgumentException when tangents and cache geometry are enabled on SpriteShapeController component.
1240514 Fixed InvalidOperationException thrown continuously on adding SpriteShapeController component to a GameObject with SpriteRenderer.
1284920 Fixed PolygonCollider2D generated with a single vertex when a GameObject has a SpriteShapeController with just 3 vertices.
[6.0.0-pre.1] - 2020-10-30
Changed
Version bump for Unity 2021.1
Height is interpolated linearly between control points that are both linear and smoothly if otherwise.
[5.1.0] - 2020-09-24
Added
Added C# Job Tessellation support for Fill Area of SpriteShape.
Fixed
1274400 SpriteShape Bounding Box does not take into account certain vertices
1273705 Assertion failed exception is thrown on undoing after clicking on Create Range button
1273635 Errors occurs when adding range on Reset-ed Preset of the SpriteShapeProfile
1271817 Icon is missing on creating SpriteShapeProfile at the time of creating
1280016 Unable to create Sprite Shape Profile along with ArgumentNullException thrown in the Project window
1274776 NullReferenceException thrown on performing Redo operation after creating Range property in the SpriteShape profiler preset
[5.0.2] - 2020-08-31
Fixed
1267542 Sprite Variant Window does not appear in Sprite Shape Controller Component when selecting a Spline pivot point.
1265846 Dragging Sprite Shape Profile to Hierarchy creates a Game Object in main Scene when being in Prefab Mode
[5.0.1] - 2020-07-17
Changed
If Geometry is baked using SpriteShapeGeometryCache, do not check for dirty once data is updated to prevent GC.
Updated Help Section to point to the correct URLs.
Fixed
1242910 Unable to add item on Resetting the Preset of the SpriteShapeProfile
1256914 Exception thrown continuously when Undo operation is performed with sprites are assigned earlier
1263266 BakeCollider requires GC every frame even when there are no changes in SpriteShape
[5.0.0] - 2020-05-28
Added
Sample script GenerateSpriteShapes.cs to demonstrate force generating invisible SpriteShapes on runtime scene load.
Changed
Version bump for Unity 2020.2
Fixed
1246133 Error occurs when unselecting Cache Geometry for Sprite Shape prefab
1240380 OnGUI in SpriteShapeController creates GC allocs.
1235972 "A Native Collection has not been disposed, resulting in a memory leak" is thrown when 2D Sprite Shape Controller is disabled
1240514 InvalidOperationException thrown continuously on adding "Sprite Shape Controller" Component to a Sprite object
1241841 Disabled corner option does not work on existing spriteshape upgraded from a previous version
[4.1.1] - 2020-04-20
Added
Added BakeMesh to save generated geometry data.
Added warning when a valid SpriteShape profile is not set.
[4.1.0] - 2020-03-16
Added
Stretched Corners.
Fixed
1226841 Fix when Collider generation allocation.
1226856 SpriteShape Edge Collider does not extend to End-point even if Edges dont overlap.
1226847 SpriteShape Corner Threshold does not work.
[4.0.3] - 2020-03-09
Fixed
1220091 SpriteShapeController leaks memory when zero control points are used
1216990 Colliders should also respect Pivot property of Edge Sprites.
1225366 Ensure SpriteShape are generated when not in view on Runtime.
[4.0.2] - 2020-02-11
Changed
Improved Memory Allocations.
Fixed
Fixed OnDrawGizmos to Get/Release RenderTexture through CommandBuffer.
[4.0.1] - 2019-11-26
Changed
Updated License file
Updated Third Party Notices file
Changed how Samples are installed into user's project
Fixed
Fixed where the last point of the Sprite Shape does not behave correctly when using Continuous Points in a closed shape (case 1184721)
[4.0.0] - 2019-11-06
Changed
Update version number for Unity 2020.1
[3.0.7] - 2019-10-27
Fixed
Added missing meta file
Changed
Update com.unity.2d.path package dependency
[3.0.6] - 2019-09-27
Added
Added support to set CornerAngleThreshold.
Burst is now enabled for performance boost.
### Fixed
Fix (Case 1041062) Inputting Point Position manually causes mesh to not conform to the spline
Fix GC in confirming Spline Extras sample.
Fix hash Validation errors.
Removed resources from Packages.
[3.0.5] - 2019-09-05
Fixed
Fix (Case 1159767) Error generated when using a default sprite for Corner sprite or Angle Range sprite in Sprite Shape Profile
Fix (Case 1178579) "ArgumentOutofRangeException" is thrown and SpriteShapeProfile freezes on reset
[3.0.4] - 2019-08-09
Added
Added tangent channel support for proper 2D lighting in URP.
[3.0.3] - 2019-07-24
Added
Add related test packages
[3.0.2] - 2019-07-13
Changed
Update to latest Mathematics package version
[3.0.1] - 2019-07-13
Changed
Mark package to support Unity 2019.3.0a10 onwards.
[3.0.0] - 2019-06-19
Changed
Stable Version.
Remove experimental namespace.
[2.1.0-preview.8] - 2019-06-12
Changed
Fix (Case 1152342) The first point of the Sprite Shape does not behave correctly when using Continuous Points
Fix (Case 1160009) Edge and Polygon Collider does not seem to follow the spriteshape for some broken mirrored tangent points
Fix (Case 1157201) Edge Sprite Material changed when using a fill texture that is already an edge sprite on spriteshape
Fix (Case 1162134) Open ended Spriteshape renders the fill texture instead of the range sprite
[2.1.0-preview.7] - 2019-06-02
Changed
Fix Variant Selection.
[2.1.0-preview.6] - 2019-06-02
Changed
Fix Null reference exception caused by SplineEditorCache changes.
Fill Inspector changes due to Path integration.
[2.1.0-preview.4] - 2019-05-28
Changed
Upgrade Mathematics package.
Use path editor.
[2.1.0-preview.2] - 2019-05-13
Changed
Initial version for 2019.2
Update for common package.
[2.0.0-preview.8] - 2019-05-16
Fixed
Fixed issue when sprites are re-ordered in Angle Range.