Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.1f1

Issue ID

UUM-2565

Regression

Yes

"Mesh Collider doesn't have Read/Write enabled" error is thrown in the Console window when undoing/redoing New Poly Shape creation

--

-

Reproduction steps:
1. Open the attached Unity "My Project.zip" project
2. Go to Window > Package Manager and install the "ProBuilder" package
3. Open ProBuilder (Menu > Tools > ProBuilder > Probuilder window)
4. In the ProBuilder window select New Poly Shape and draw a shape in the Scene
5. Perform undo/redo the actions (Ctrl+Z/Ctrl+Y)
6. Observe the errors that appear in the Console windows

Expected result: No errors appear in the Console window
Actual result: Errors appear in the Console window: "This Mesh Collider is attached to GameObject at path 'PolyShape (2)' with Mesh 'pb_Mesh-1758' 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.
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()"

Reproducible with: 2021.2.0a10, 2021.3.4f1
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.1.28f1, 2021.2.0a9, 2022.1.3f1, 2022.2.0a15

Reproducible on: Windows 10 Intel(R) Core(TM) i9-10980XE CPU 3.00GHz, MacBook Pro (16-inch, 2021) 3.2Ghz 8-Cores (M1 Max)

Notes:
- To reproduce the issue, the Pro Builder package (version 5.0.4) is needed

  1. Resolution Note:

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.