Singularity/Library/PackageCache/com.unity.2d.spriteshape@7.0.7/CHANGELOG.md
2024-05-06 11:45:45 -07:00

15 KiB

Changelog

[7.0.7] - 2023-02-27

Fixed

  • DANB-283 Fix case where BezierUtility.BezierPoint function parameters are not in the right order
  • DANB-306 Fix case where Error “A Native Collection has not been disposed, resulting in a memory leak” occurs in Play Mode

[7.0.6] - 2022-06-28

Changed

  • Refactored internal triangulation and tessellation APIs.

[7.0.5] - 2022-05-31

Fixed

  • 1421401 Fix case where SpriteShape throws ArgumentException error when checking position validity of a point added to Spline.
  • 1421403 Fix case where Tangent Data is always saved even when not in use for SpriteShapeRenderer when GeometryCache is active.
  • 1421404 Fix case where Shape of PolygonCollider2D doesn't update when Sprite Shape contains vertex at [0,0].

[7.0.4] - 2022-02-07

Fixed

  • 1381501 Fixed case where SpriteShape Corner is not set when setting multiple corners
  • 1399400 Fix case where SpriteShape with Cache Geometry enabled does not update arrays when saving scene off-screen.
  • 1394337 Fix case where SpriteShapeGeometry Cache does not update when selecting a different Object when EditTool is active.
  • 1400230 Fix case where SpriteShape corner does not respect the ControlPoint height.

Changed

  • Update dependency version

[7.0.3] - 2021-11-05

Fixed

  • 1368906 Fix case where Bounds can cause spriteshape not load in when running Player.
  • 1369368 Fix crash when optimizing the geometry of the SpriteShape in certain cases.

[7.0.2] - 2021-09-27

Fixed

  • Fix 7.0.1 changelog.

[7.0.1] - 2021-09-21

Fixed

  • 1364344 Fix case where enabling Fill Tessellation and setting profile's fill offset to positive causes errors.
  • 1364343 Fix case where Edge and Polygon colliders have missing edges on certain open-ended shapes.
  • 1364342 Fix case where colliders do not extend to the end of the sprite texture when Sprite Borders are enabled.
  • 1364339 Fix case where Sprite Shapes appear only when their pivot is revealed in the Scene view.

[7.0.0] - 2021-08-10

Fixed

  • 1350018 Fix case where Triangular spriteshape with 0 offset collider does not generate collision shape.
  • 1349674 Fix case where all open Scenes were dirtied when editing a SpriteShape Spline.
  • Update manual to reflect reorganization of menu item.

[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.
  • Updated Samples.

[2.0.0-preview.7] - 2019-05-10

Fixed

  • Version Update and fixes.

[2.0.0-preview.6] - 2019-05-08

Fixed

[2.0.0-preview.5] - 2019-04-18

Fixed

[2.0.0-preview.4] - 2019-03-28

Changed

  • Disable burst for now until we have a final release.

[2.0.0-preview.3] - 2019-03-25

Fixed

  • Update Common version.

[2.0.0-preview.2] - 2019-03-08

Fixed

  • Fix Edge Case Scenario where Vertices along Continuous segment could be duplicated..
  • Ensure that Collider uses a valid Sprite on Generation.

[2.0.0-preview.1] - 2019-02-27

Changed

  • Updated version.

[1.1.0-preview.1] - 2019-02-10

Added

  • Spriteshape tessellation code is re-implemented in C# Jobs and utilizes Burst for Performance.
  • Added Mirrored and Non-Mirrored continous Tangent mode.
  • Simplified Collider Generation support and is part of C# Job/Burst for performance.
  • Added Shortcut Keys (for setting Tangentmode, Sprite Variant and Mirror Tangent).
  • Ability to drag Spriteshape Profile form Project view to Hierarchy to create Sprite Shape in Scene.
  • Simplified Corner mode for Points and is now enabled by default.
  • Added Stretch UV support for Fill Area.
  • Added Color property to SpriteShapeRenderer.

Fixed

Changed

  • SpriteShape Asset parameters WorldSpace UV, PixelPerUnit have been moved to SpriteShapeController properties.
  • Collider generation has been simplified and aligns well with the generated geometry (different height, corners etc.)

Removed

  • Remove redundant parameters BevelCutoff and BevelSize that can be done by simply modifying source spline.

[1.0.12-preview.1] - 2018-08-03

Added

  • Fix issue where Point Positions do not update visually at runtime for Builds

[1.0.11-preview] - 2018-06-20

Added

  • Fix Spriteshape does not update when Sprites are reimported.
  • Fix SpriteShapeController in Scene view shows a different sprite when user reapplies a Sprite import settings
  • Fix Editor Crashed when user adjusts the "Bevel Cutoff" value
  • Fix Crash when changing Spline Control Points for a Sprite Shape Controller in debug Inspector
  • Fix SpriteShape generation when End-points are Broken.
  • Fix cases where the UV continuity is broken even when the Control point is continous.

[1.0.10-preview] - 2018-04-12

Added

  • Version number format changed to -preview

[0.1.0] - 2017-11-20

Added

  • Bezier Spline Shape
  • Corner Sprites
  • Edge variations
  • Point scale
  • SpriteShapeRenderer with support for masking
  • Auto update collision shape