Search Issue Tracker
Won't Fix
Votes
3
Found in [Package]
2.0.0-preview.12
Issue ID
1228604
Regression
No
VectorUtils TessellatePath results in artifacts when stroke HalfThickness is set to zero
How to reproduce:
1. Open attached project "VectorGraphicsArtifacts.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe Game view
Expected result: no artifacts are visible
Actual result: artifacts are visible
Reproducible with: 2019.3.9f1, 2020.1.0b4, 2020.2.0a5 (2.0.0-prev.7, 2.0.0-prev.12)
Could not test with: 2017.4 (package was not yet released), 2018.4.20f1 (2.0.0-prev.1), 2019.3.9f1 (2.0.0-prev.6) due to missing features
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Calling TessellatePath() generates geometry defined as triangles. Drawing line segments between these vertices will be subject to imprecisions and floating point errors if the stroke width is 0. A better approach would be to iterate through the bezier segments and subdivide it into fixed steps to generate the line segments.