Search Issue Tracker

Fixed in 2020.1

Votes

0

Found in

2019.2.0a4

Issue ID

1130898

Regression

No

Errors appear when trying to combine meshes with quad topology

Graphics - General

-

How to reproduce:
1. Open link, provided in a latest email and download attached project
2. Open project
3. Open Test window, if its not opened (Window-> UI Elements->Test)
4. Press "Create mesh 1" button
-- Mesh is created
5. Press "Create mesh 2" button
-- Mesh is created, Error appears:
Assertion failed on expression: 'totalNumIndices <= (maxIndices + 1)'
UnityEngine.Mesh:CombineMeshes(CombineInstance[], Boolean, Boolean)
Test:CreateMesh2() (at Assets/Editor/Test.cs:85)
Test:OnGUI() (at Assets/Editor/Test.cs:25)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
6. Press "Create mesh 3" button
-- Mesh is created, Two identical errors appear:
Assertion failed on expression: 'numIndices <= (maxIndices + 1)'
UnityEngine.Mesh:CombineMeshes(CombineInstance[], Boolean, Boolean)
Test:CreateMesh3() (at Assets/Editor/Test.cs:102)
Test:OnGUI() (at Assets/Editor/Test.cs:31)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Reproduced with: 2019.2.0a9, 2019.1.0b9, 2018.3.10f1, 2017.4.24f1.

Comments (2)

  1. B75c37aa0c7d3926dd143e886e996aec?d=mm

    deeprest

    Mar 25, 2020 17:51

    Also, the mesh seems to be generated okay, so is this just a harmless assert?

  2. B75c37aa0c7d3926dd143e886e996aec?d=mm

    deeprest

    Mar 25, 2020 17:49

    Found in version 2019.3.6f1 .... please fix it for the latest version of 2019 since it will soon be the next LTS. Version 2020 is ridiculously unstable.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.