Search Issue Tracker
Fixed in 9.0.0-pre.1
Fixed in 7.0.5
Votes
1
Found in [Package]
8.0.0-pre.5
Issue ID
1401376
Regression
No
Shape of PolygonCollider2D doesn't update when Sprite Shape contains vertex at [0,0] and it's Profile doesn't have any Sprites
How to reproduce:
1. Open the user-submitted project
2. Open the scene "ReproScene" (Assets/Scenes/ReproScene.unity)
3. In the Hierarchy window, select the GameObject "Closed Sprite Shape"
4. In the Inspector window, under the Sprite Shape Controller component, click "Edit Spline"
5. In the Scene view, click and drag around the leftmost vertex of the Sprite Shape
6. Inspect the green outline of the Sprite Shape's Polygon Collider 2D
Expected result: The Collider updates to the changed Sprite Shape
Actual result: The Collider does not update to the changed Sprite Shape
Reproducible with: 3.0.18 (2019.4.35f1), 5.2.0 (2020.3.29f1), 7.0.3 (2021.2.11f1), 8.0.0-pre.5 (2022.1.0b7, 2022.2.0a4)
Note: The Collider updates as expected when the Sprite Shape's Profile contains Sprites
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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
Resolution Note (fix version 9.0.0-pre.1):
Fix for this issue is available on Unity 2022.2.0a16 and above
Resolution Note (fix version 7.0.5):
Fix for this issue will be available on Unity 2021.3.7f1 and above