com.unity.uiextensions icon indicating copy to clipboard operation
com.unity.uiextensions copied to clipboard

BUG: UILineConnector Doesn't update for added points

Open BenIVRE opened this issue 2 months ago • 0 comments

Unity UI Extensions Bug Report

Describe the bug

Building a UILineRenderer using the UILineConnector - adding new points to the line connector at runtime doesn't add these points to the line renderer. This is caused by the changes in #480

To Reproduce

  1. Create a UILineRenderer driven by a UILineConnector with appropriate transforms for points and curve handles.
  2. Have a method that inserts a new point on the line.
  3. Move the new point on the line, or merely observe the list of points in the UILineRenderer
  4. See that the new point added to the UILineConnector transforms is not added to the UILineRendererPoints

Expected behavior

Adding a point to the line connector adds it to the line renderer

Image Current behaviour on release branch.

Actual behavior

New point is not accounted for

Image Current behaviour on development branch

BenIVRE avatar Nov 03 '25 17:11 BenIVRE