Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

0

Found in

2019.3.0b7

Issue ID

1192509

Regression

No

UIElements Mesh API uses wrong winding order

UI Toolkit

-

Repro steps:
Using the UIElements Mesh API...
a) Submit the following three vertices: (0, 0), (100, 0) and (100, 100).
b) Submit the following indices: 0, 1, 2

Expected result: a triangle should appear
Actual result: nothing appears

Submitting them in counterclockwise order makes it visible.

See the example below:
https://forum.unity.com/threads/draw-a-line-from-a-to-b.698618/#post-5080004

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.