Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2019.3.0f5
2020.1
Issue ID
1215554
Regression
No
[Physics2D] Unable to delete Polygon Collider 2D shapes when there are more than one of them
Reproduction steps:
1. Create a new Project
2. Import "Walls.png" and select Texture Type Sprite (2D and UI) in import settings
3. Drag "Walls" into the Scene and make the Scene is in the 2D view
4. Add a Polygon Collider 2D to "Walls" in Hierarchy
5. Edit Polygon Collider 2D and delete all Collider Vertices until you are left with 2 separate triangles/Polygons
Expected result: you are able to delete one of these Collider triangles
Actual result: you are not able to delete either of the triangles
Reproducible with: 2017.4.37f1, 2018.4.17f1, 2019.2.21f1, 2019.3.1f1, 2020.1.0a22
Notes:
1. When attaching Polygon Collider 2D it creates a separate Polygon for each of the areas separated by transparency and you are not able to remove either of these Polygons
2. If only one of the created Polygons is needed, a possible workaround is to align them with each other
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
Currently, the Polygon Collider 2D provides basic support for outlines and interior holes. It does not support a complete authoring of separated islands of shapes.