Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.3.X
Votes
0
Found in
2019.3.0a11
2019.4.1f1
2020.1
2020.2
Issue ID
1274815
Regression
No
Mesh.CombineMeshes produces assert for some custom Mesh data layouts/formats
How to reproduce:
1. Open user-submitted project (MeshCombineTest.zip)
2. Open the SampleScene
3. Enter Play Mode
Expected result: no assertions are thrown in the Console window
Actual result: two assertions are thrown in the Console window
Reproducible with: 2019.3.0a11, 2019.4.9f1, 2020.1.4f1, 2020.2.0b2
Could not test with: 2018.4.26f1, 2019.3.0a10(‘Mesh’ does not contain a definition for ‘GetVertexAttribute’)
Notes:
The following assertions are thrown:
Assertion failed on expression: 'uvChannel.dimension == 0 || uvChannel.format == kVertexFormatFloat'
UnityEngine.Mesh:CombineMeshes (UnityEngine.CombineInstance[])
MeshMergeTest:Start () (at Assets/Scripts/MeshMergeTest.cs:27)
Assertion failed on expression: 'chanType.dimension == 0'
UnityEngine.Mesh:CombineMeshes (UnityEngine.CombineInstance[])
MeshMergeTest:Start () (at Assets/Scripts/MeshMergeTest.cs:27)
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
Add comment