Releases: needle-mirror/com.unity.splines
Releases · needle-mirror/com.unity.splines
2.8.4
2.8.3
[2.8.3] - 2026-01-30
Fixed
- [SPLB-374] Fixed a bug where spline tool shortcuts would be active in the Scene view even when outside the context of the spline tools.
- [SPLB-370] Fixed incorrect tangent values when using
SplineUtility.FitSplineToPoints. - [SPLB-365]
EditorSplineUtility.SetKnotPlacementToolcorrectly assigns the create spline tool. - [SPLB-364] Fixed null reference & lockup when instantiating children of SplineInstantiate component, when components gameobject is a prefab instance.
2.8.2
[2.8.2] - 2025-09-18
Fixed
- [DOCATT-4646], [DOCATT-5603], [DOCATT-7045], [DOCATT-5044], [DOCATT-6376], [DOCATT-6626] Clarified API documentation following user feedback.
- [SPLB-360] Fixed a bug when selecting the clear component option, resulting in out of range exception
- [SPLB-361] Fixed a bug where the spline would not animate with Scene/Domain reload disabled upon entering playmode
- [SPLB-356] Fixed a bug where a null reference exception would occur after baking a SplineInstantiate component and then pressing Undo.
2.8.1
[2.8.1] - 2025-03-28
Bug Fixes
- [SPLB-345] Fixed a bug which was causing null reference exceptions during shutdown in IL2CPP builds.
- [SPLB-337] Fixed a bug where
JoinSplinesOnKnotswould throw a null reference exception when one of the splines was linked with another spline. - [SPLB-341] Fixed a bug where changing the tangent mode on a knot on a prefab would not persist when entering play mode.
Changed
- Internal code cleanup to align with release standards.
2.8.0
[2.8.0] - 2025-03-13
Bug Fixes
- [SPLB-322] Fixed a bug where
SplineExtrudewouldn't update when multiple splines where modified. - [SPLB-323] Fixed a bug where splines displayed in the Scene view would not match serialization changes.
- [SPLB-324] Re-added a dependency to the IMGUI module that was removed along with the UGUI package.
- [SPLB-332] Fixed a bug where
Element Inspectorfields get pushed and squashed. - [SPLB-329] Fixed a bug where
SplineExtrudecould affect the mesh of otherSplineExtrude. - [SPLB-336] Fixed a bug where
SplineExtrudewould break with a range value of 0. - [SPLB-333] Fixed a bug where
Create Splinetool would sometimes throw an exception when the Esc or Enter keys were pressed.
Added
- [SPLB-329] Added the ability to target a mesh in the library with a
SplineExtrudecomponent
2.7.2
[2.7.2] - 2024-11-08
Bug Fixes
- [SPLB-315] Fixed a bug where the
DrawSplineToolicon was missing in the tools overlay. - [STO-3434] Fixed a bug where the
DrawSplineToolwould prevent the use of the view tool. - [STO-3435] Fixed a bug where the
DrawSplineToolwould not display the tool settings anymore. - [SPLB-296] Fixed a bug where a log message would appear in the console when 2 knots are at the same position with 0-length tangents.
- [SPLB-304] Fixed a bug where an exception would be thrown when using
SplineInstantiatewith linear distance instantiate method and multiple splines. - Fixed some failures related to the inline API documentation.
- [SPLB-302] Fixed a bug where an exception would be thrown when adding a knot to a closed spline from inspector.
- [SPLB-311] Fixed a bug where
SplineAnimatecomponent would not function properly with non-uniform scale transforms. - Fixed compilation errors in builds
- [SPLB-310] Fixed mesh extrude not being saved when a change is applied to a mesh asset.
- [SPLB-303] Fixed a bug where spline section foldout labels (shape extrude, geometry, advanced) did not unfold the sections when clicked.
- [SPLB-294] Fixed a bug where adding new splines by using the
SplineContainerinspector would dirty all open scenes.
2.7.1
[2.7.1] - 2024-10-17
Added
- [STO-3204] Added a Create Spline button to enter spline creation when you do not have the Spline tool context activated.
- New
SplineExtrudeandSplineMeshoption enables new extrusion profiles, includingCircle,Square,Road, andSpline. - Added a section in the documentation for the
Source Spline Containerin theSplineExtrudecomponent.
Bug Fixes
- [SPLB-292] Removed the dependency on the UGUI package.
- Removed the toggle to override the target spline in the
SplineExtrudeinspector. - [SPLB-288] Fixed a bug where a prefab
SplineContainerwould unexpectedly restore splines deleted before entering and exiting playmode. - [SPLB-284] Fixed a bug that prevented baking instances of multiple
SplineInstantiatecomponents when multi-selecting. - [SPLB-277] Fixed a bug where instantiating a prefab with
SplineAnimatecomponent would throw messages in the console. - [SPLB-279] Fixed a bug where closing a Spline would not update the auto-smooth knots at the extremities.
2.6.1
[2.6.1] - 2024-05-23
Bug Fixes
- [SPLB-275] Fixed a bug where the
SplineContainercomponent would throw warning when entering playmode. - [SPLB-266] Fixed a bug where instantiating a
SplineExtrudecomponent at runtime would throw errors. - [SPLB-269] Fixed a bug where instantiating a
SplineAnimatecomponent at runtime would throw errors. - [SPLB-260] Fixed a bug where playing a
SplineAnimatefrom a start method would not work. - [SPLB-267] Fixed a bug where undoing a spline insertion in a container would throw errors from the
SplineInstantiatecomponent. - [SPLB-261] Fixed a bug where the knot placement tool would not work when multiple scene views were opened.
- [SPLB-253] Fixed a bug where using the knot placement tool in 2D mode would not work if the grids are turned off.
- [SPLB-258] Fixed a bug where destroying a component would throw errors in the console.
2.5.2
[2.5.2] - 2023-12-22
Added
- [SPLB-222] Added safety checks to spline changed events.
Changed
- [SPLB-233] Removed transform handles while dragging a knot using direct manipulation.
- [SPLB-234] Removed unnecessary spline metadata which was saved on disk.
Bug Fixes
- [SPLB-230] Fixed a bug where modifying the tangent mode on the last knot would change the spline shape unpredictably.
- [SPLB-225] Fixed a bug where closing a Spline with the
Draw Splines Toolhad inconsistent behaviour. - [SPLB-236] Fixed a bug where the spline instantiate inspector was throwing an exception when the selection contained objects without that component.
- [SPLB-235] Fixed a bug where hovering a knot was create highlights when dragging tangents.
- [SPLB-234] Fixed a bug where it was impossible to add a knot on the latest added knot.
- [SPLB-214] Fixed an exception that would when adding a spline via the inspector if no other spline exists.
- [SPLB-226] Fixed broken preview when adding knots to a closed spline
2.5.1
[2.5.1] - 2023-10-17
Bug Fixes
- [SPLB-208] Fixed a bug where
SplineToolContextwould attempt to draw empty Splines and flood the console with errors.
[2.5.0] - 2023-10-16
Added
- Exposed public API for
SplineInstantiate.Seed.
Bug Fixes
- [SPLB-201] Fixed error messages showing in edit mode with spline components.
- [SPLB-203] Fixed a bug where baking
SplineInstantiateinstances broke prefab connections. - [SPLB-196] Fixed a bug where the
Randomstate was not restored after an update of the instances inSplineInstantiate. - Fixed a bug where the
SplineCacheUtilitywould send null reference exceptions. - [SPLB-183] Fixed a bug where duplicating the
SplineExtrudecomponent was not updating the mesh asset reference. - [SPLB-178] Fixed a bug where linking knots would not trigger a
Spline.changedevent. - [SPLB-185] Fixed a bug where the Up vector evaluation would return NaN values when normals and curve tangents are parallel.
Changed
- [SPLB-187] Fixed a bug where
Spline.EvaluatePositionwas allocating memory when called. - [SPLB-181] Fixed a bug where the Auto tangent mode computed incorrect knot rotations.
- Changed the
SplineComponentdisplay name in the Inspector toSpline Containeras a response to user feedback.