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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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