Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1310746
Regression
Yes
Duplicate Collider 2D when editing Colliders in GameObject that has 2 Collider 2D Components
How to reproduce:
1. Open a new project
2. Create an empty GameObject
3. Add 2x Capsule Collider 2D to that GameObject
4. Change one of the Collider's Direction to Horizontal
5. Click Edit Collider in the Inspector of Horizontal Collider 2D Component
Expected result: One Collider 2D is rotated vertically and the other is rotated horizontally
Actual result: One of 2 Colliders becomes a cross. It seems as if there are 3 total Colliders in the scene.
Reproducible with: 2019.4.19f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3
Not reproducible with: 2018.4.31f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
Resolution Note (fix version 2021.2):
CapsuleCollider2D editor was using the first CapsuleCollider2D target only for rotation resulting in the wrong gizmos being drawn.