Search Issue Tracker

Fix in review

Votes

0

Found in

2018.3.8f1

Issue ID

1141916

Regression

No

Mesh.GetTriangles(list, index) doesn't put all submesh triangles in the list if the model has Keep Quads enabled

Graphics - General

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

How to reproduce:
1. Open the attached "case_1141916-GetTrianglesBug" project
2. Select "CablePart_Hi" in the Project window and notice that it has Keep Quads enabled
3. Open scene "SampleScene" and enter Play mode

Expected results: Array and list created with GetTriangles(index) and GetTriangles(list, index) have identical length
Actual results: List does not get populated with all triangles and has lower length than the array

Reproducible with: 2017.4.25f1, 2018.3.12f1, 2019.1.0b10, 2019.2.0a10

All about bugs

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