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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.