PreviousVertargument in the
CreateLineSegmentis to ensure the UV's wrap correctly. In the past, if you didn't ensure they we wrapped it would break the UV data for the VertexBuffer.
I updated the logic correctly to
segments.Add(CreateLineSegment(start, end, SegmentType.Middle, segments.Count > 2 && segments.Count % 2 == 0 ? segments[segments.Count - 2] : null));
Ensuring UV's were wrapped for subsequent segment ends, however. If I do as was suggested earlier but simply having
segments.Add(CreateLineSegment(start, end, SegmentType.Middle));
It odly still works, wether it is using a texture or material and the UV's (appear) to work as expected.
Just bought the asset! However, in Unity version 2019.2.3f1 I'm seeing an error in the console that says
Assets/com.unity.uiextensions/Runtime/Scripts/Utilities/UIExtensionsInputManager.cs(8,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
and there are 3 others: another for InputSystem, one for ButtonControl, and another for KeyControl.
And then I can't see an "extensions" option in the GameObjects or Components menus, so as far as I can tell I'm unable to use this asset.