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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
CapsuleCollider2D editor was using the first CapsuleCollider2D target only for rotation resulting in the wrong gizmos being drawn.