Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.4

2020.1.6f1

2021.1

Issue ID

1282750

Regression

No

MeshCollider doesn't warn when setting an invalid mesh (with <3 vertices for instance)

Physics

-

How to reproduce:
1. Open the user's attached project("Telekinetic Shooter.zip")
2. Enter Play mode

Expected results: Helpful error describing the issue gets sent to console
Actual results: "[Physics.PhysX] TriangleMesh::loadFromDesc: desc.isValid() failed" is spammed

Reproducible with: 2019.4.13f1, 2020.1.11f1, 2020.2.0b9, 2021.1.0a1
Could not test with: 2018.4.28f1 (Couldn't downgrade)

Notes: If you disable all NavMeshes, the Errors do not get thrown anymore

  1. Resolution Note (fix version 2021.2):

    Fixed in Unity 2021.2.0a10 and above

Comments (1)

  1. ukrop712

    Jun 08, 2021 09:22

    The same issue in LineRenderer.BakeMesh()
    But if the triangles count less than 12

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.