Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

7

Found in

2019.3.0a9

2019.3.0b7

Issue ID

1192188

Regression

Yes

The error "Failed to create Convex Mesh from source mesh" appears when convex is toggled in mesh collider settings

Physics

-

To reproduce:
1. Load the attached project
2. Load the scene included
3. Select the armchair model in the scene
4. Toggle the 'Convex' option on the mesh collider
5. Observe that the error is produced

Actual results: the error of Failed to create Convex Mesh appears
Expected results: there should be no error

Reproduced with: 2019.3.0a9; 2020.1.0a9
Not reproduced with: 2019.3.0a8

Error:
Failed to create Convex Mesh from source mesh "Armchair_Coffee_Mesh". Reached the maximum polygons limit (256). Consider simplifying your mesh.

  1. Resolution Note (fix version 2020.1):

    Unfortunately, this mesh has too many smooth features, and the minimal convex hull of it will have more than 256 faces. In PhysX, a convex mesh can have up to 256 faces. Previous releases of Unity didn't print this error, but the problem was still there.

Comments (5)

  1. SnooksV3

    Nov 04, 2022 07:20

    If your mesh collider is turned off initially then this error will happen.

  2. NeverTrustShadows

    Apr 09, 2021 14:20

    The warning stays the same but the mesh works just fine. v.2019.4.17.f1

  3. PeterDrake

    Jun 05, 2020 02:03

    If we're still getting warnings, it's not fixed, is it?

  4. Blade_Master_2020

    Mar 27, 2020 03:12

    I also have error and the mesh works fine.

    so I tried to ignore this warning by using #pragma warning disable but didn't work.

    Expected results: there should be no error.

  5. joegrant

    Jan 27, 2020 22:58

    So make the error message go away again so we dont get spammed by it? I also have this error, the mesh works fine.

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.