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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.