Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Reached the maximum polygons limit (256)

Discussion in '2020.1 Alpha' started by id0, Sep 14, 2019.

  1. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    328
    I have this error spam all the time:

    Failed to create Convex Mesh from source mesh "Object002". Reached the maximum polygons limit (256)...etc...
    (many different meshes mentioned)

    What a nonsense! (Although I don't even add Convex Mesh on that meshes)
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    25,925
    It's likely an imported object has generate colliders or some such.
     
  3. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    328
    One of them it's skinned mesh, and it can't have collider at all. In any case 256 polygons. What?
     
  4. Fuzzy

    Fuzzy

    Joined:
    Feb 11, 2011
    Posts:
    266
    Convex mesh collider have been limited to 256 polygons (or rather triangles) probably since unity's creation.

    https://docs.unity3d.com/Manual/class-MeshCollider.html
    But if what you say is true:
    It might be a bug.

    Just double check (all) Object002's collider settings.

    Haven't tested the 2020.1 alpha myself yet.
     
  5. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    328
    Fuzzy, if I click on an error, this provides me with a project window when these objects are in folders (not on the scene, but just fbx, I have not even touched them since the update)
     
  6. Fuzzy

    Fuzzy

    Joined:
    Feb 11, 2011
    Posts:
    266
    Then the only thing i could see them having done for their "performance by default" motto would be that the "generate colliders" checkbox on the object importer is set to generate convex colliders by default - since they're generally better performing than concave colliders - but don't have a check for the triangle limit or something.

    But that's just random guessing.

    Maybe just send them a bug report with a minimalistic project containing the object that causes this problem.
     
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,721
    If this used to work before the update, please submit a bug report with a (minimal) reproduction project.
     
  8. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    484
    I have a similar problem, a mesh collider that works perfectly well on 2019.2 gets this error on 2019.3.

    Just want to point out that, in case this is a bug, it was introduced during the 2019.3 cycle. Hope this helps.
     
  9. Blinkq

    Blinkq

    Joined:
    Apr 19, 2015
    Posts:
    14
    Same for me in 2019.3. Almost all objects with convex colliders got mad. Its showing this error, but still it works.
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,721
    A bug report with a minimal reproducible would be much appreciated.
     
  11. thomh_unity

    thomh_unity

    Unity Technologies

    Joined:
    Feb 19, 2019
    Posts:
    10