Search Issue Tracker

Fixed in 2018.1.X

Votes

0

Found in

2017.1.0p5

Issue ID

946551

Regression

No

Graphics.DrawProcedural(MeshTopology.Quads, v[]) result is the same as MeshTopology.Triangles when supplied with 4 vertices

Graphics - General

-

Steps to reproduce:
1. Open attached Unity Project "ProceduralMeshBug.zip"
2. Load scene "Test"
3. Enter Play mode - result with 4 vertex array is visible
4. Open script "Test.cs"
5. Uncomment lines 17 & 19
6. Enter Play mode - a quad is drawn

Expected result: a Quad is drawn with four vertices supplied as the second argument for Graphics.DrawProcedural
Actual result: Graphics.DrawProcedural requires six vertices as the second argument

Reproducible with: 5.6.1p4, 2017.1.0p5, 2017.3.0a6

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.