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
- Scene View has an inverted Game View window when changing from Game View to Scene View on a specific project
- An error is thrown when one TreeView root element is dragged and held over a parent element but is dropped between the elements
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
Add comment