Search Issue Tracker

Fixed in 2022.2.X

Votes

2

Found in

2021.2.0a9

2021.2.14f1

2022.1

2022.2

Issue ID

1409430

Regression

Yes

"This Mesh Collider is attached to GameObject but doesn't have Read/Write enabled" error when creating a mesh without vertices

Physics

-

Reproduction steps:
1. Open the user's attached "MeshTest.zip" project
2. Open the "SampleScene" Scene
3. Enter the Play mode
4. Observe the Console window

Expected result: The error tells the user that they are trying to set a mesh with 0 vertices.
Actual result: "This Mesh Collider is attached to GameObject at path 'TestMesh' with Mesh '' in Scene 'SampleScene' but doesn't have Read/Write enabled. Only colliders that have default cooking options, are not scaled non-uniformly, and their meshes are not marked dirty can leave this disabled." error message appears

Reproducible with: 2021.2.0a9, 2021.2.15f1, 2022.1.0b12, 2022.2.0a8
Not reproducible with: 2019.4.36f1, 2020.3.36f1, 2021.2.0a8

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a12

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.