Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.35f1

2021.3.4f1

2022.1.4f1

2022.2.0a18

2023.1.0a1

Issue ID

UUM-7230

Regression

No

Mesh.CombineMeshes discards empty sub-meshes when 'mergeSubmeshes' is set to false

--

-

Reproduction steps:
1. Open the attached ‘8224' project
2. Go to the ‘Window → General → Test Runner’
3. Click on the ‘Run All’ button
4. Observe the ‘CombineMeshTest’ results

Expected result: All three tests pass
Actual result: ‘TestSubMeshCount2’ and 'TestSubMeshCount3’ fail

Reproducible with: 2020.3.35f1, 2021.3.4f1, 2022.1.4f1, 2022.2.0a18, 2023.1.0a1

Reproduced on: MacOS 11.6 (Intel)

  1. Resolution Note:

    This might be worked around by doing a check when the CombineInstances array is created, e.g. if a mesh has no vertices or no indices, don't add it to the CombineInstances array.

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.