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
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
- Crash on GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
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.