Search Issue Tracker

Duplicate

Votes

0

Found in

4.3.0b5

Issue ID

569344

Regression

No

Remove BoxCollider2D/BoxCollider doesn't work when using ReguireComponent

Editor - Other

-

Remove 2D/3D collider doesn't work when using ReguireComponent

2) How can we reproduce it using the example you attached
1 Create new project
2 Create empty object
3 Create script A that requires BoxCollider
4 Add A to cube
5 Add BoxCollider to cube from UI, in poped-up window press Replace - notice BoxCollider is not removed - added 2 BoxColliders (no any messages)

Same for 2D colliders.
Reproduced only for same colliders.

  1. This is a duplicate of issue #568369

    Replace component feature doesn't work.

Add comment

Log in to post comment