Dashed Arc rendering an additional dash
i'm having trouble with a dashed arc.
i'm setting it to Fixed Count
, End to End
and Count = 5
, but it's generating 6 dashes.
played around with the spacing and it seems like it behaves normally with 5 dashes when the spacing is below 0.5 (e.g. 0.499), but the second it gets to 0.5, or a value rounded to 0.5, it creates 6 dashes
Reporting a bug? please specify Unity version:
2022.1.0b2
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
URP
Fix:
Open *\Assets\Shapes\Shaders\DashUtils.cginc
change from
round
tofloor
on line 105