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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment