Search Issue Tracker
Fixed in 6.0.0-pre.3
Fixed in 5.1.3
Votes
0
Found in [Package]
5.1.0
Issue ID
1293760
Regression
No
Sprite Shape generates Edge Colliders with deformed corners
How to reproduce it:
1. Open the user's attached project 'SpriteShapeBugRepro.zip'
2. Load ‘BugReproScene’ from 'Assets' > 'Scenes' folder
3. Click on 'Platform A' in the Scene view
4. Open the Inspector view and go to Sprite Shape Controller (Script) > Collider > Offset
5. Modify an offset value
6. Observe 'Platform A' Edge Collider's edges in the Scene view
7. Repeat 3 - 6 steps with 'Platform B' and 'Platform C' GameObjects
Expected result: Edge Collider's corners don't deform and don't make acute angles
Actual result: Edge Collider's corners deform and make acute angles
Reproducible with: 3.0.14 (2019.4.15f1), 4.1.4 (2020.1.15f1), 5.1.0 (2020.2.0b13, 2021.1.0a7)
Could not test with: 2018.4.29f1 and lower (2D Sprite package is not introduced yet )
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 6.0.0-pre.3):
A fix for this issue will be available on 2D Sprite Shape package 6.0.0 and above with Unity 2021.2.0a13 and above