Search Issue Tracker
By Design
Votes
0
Found in
4.3.0b3
Issue ID
564805
Regression
No
PolygonCollider2D colliders are incorrectly generated from sprites with 90 degree corners
PolygonCollider2D colliders are incorrectly generated from sprites with 90 degree corners.
2) How can we reproduce it using the example you attached.
In the test scene, the sprite on the left has an incorrectly generated collider. The sprite on the right has had the sharp corners cut off, and has a correctly generated collider. (The incorrect collider can be corrected by setting the detail to 1.0, but that shouldn't be necessary, especially since the correct collider is actually a more complex shape.)
1 Open scene test
2 Select "Shape 1" in Hierarchy
3 Remove and add Polygon Collider 2D - the generated collider is incorrect
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment