Search Issue Tracker
Fixed
Fixed in 2022.3.33f1, 6000.0.6f1, 7000.0.0a1
Votes
0
Found in
2021.3.38f1
2022.3.26f1
6000.0.1f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-71177
Regression
No
Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Asset/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Observe the crash
Reproducible with: 2021.3.38f1, 2022.3.26f1, 6000.0.1f1
Reproduced on: Windows 10, Windows 11 (by reporter)
Not reproducible on: No other environment tested
Notes:
1. Also reproduced in Player
2. The script causing the crash is designed to dynamically add a new path to a PolygonCollider2D at runtime using predefined vertices
First few lines of the stack trace:
0x00007ff688300762 (Unity) ScheduleGenerateTilingShape
0x00007ff689154be8 (Unity) PolygonCollider2D::PrepareShapes
0x00007ff68914e77c (Unity) Collider2D::CreateFixtures
0x00007ff68915636e (Unity) Collider2D::RecreateCollider
0x00007ff689156473 (Unity) PolygonCollider2D::RefreshPoly
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment