Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Votes
0
Found in
2021.3.38f1
2022.3.26f1
6000.0.1f1
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
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Add comment