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)
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
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
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.