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

Package: 2D Sprite Shape

-

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 )

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.