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
- 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:
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.