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
- Button highlight state disabled when hovering cursor over smaller sized child UI objects
- "Unity has stopped working" window is skipped when the Editor crashes
- The "Properties..." shortcut does not open the Focused Inspector window when the new GameObject is created
- Editor crashes when using WebCamTexture
- [URP] ShaderKeywords '_MAIN_LIGHT_SHADOWS' and '_ADDITIONAL_LIGHT_SHADOWS' are always enabled in the Editor
Add comment