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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
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.