When I use polyline, all lines are not the same like the line draw. I tried all PolylineJoins options but I can't get the same result with draw line. How can I fix it? I draw first lines, polylines and then discs.
Red lines ; Draw.Line
Blue Lines ; Draw.Polyline
Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
polylines generally struggle when you have very short segments, especially when they are shorter than the thickness of the line. it looks like you might have very short segments under those discs causing this issue. The most stable polyline join in this case should be the miter join, or the simple joins if it looks good enough for your use case