# Low-Level Physics2D: PolygonGeometry.CreatePolygons() error

**URL:** <https://discussions.unity.com/t/low-level-physics2d-polygongeometry-createpolygons-error/1689745>\
**Category:** Physics\
**Tags:** 2D-Physics, Feedback, 6.3-beta\
**Created:** [October 11, 2025, 1:09pm UTC](https://discussions.unity.com/t/low-level-physics2d-polygongeometry-createpolygons-error/1689745 "2025-10-11T13:09:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MelvMay](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/melvmay/32/548775_2.png) [@MelvMay](https://discussions.unity.com/u/MelvMay)\
**Post date:** [October 11, 2025, 3:31pm UTC](https://discussions.unity.com/t/low-level-physics2d-polygongeometry-createpolygons-error/1689745/2 "2025-10-11T15:31:47Z")

</div>

This is used in a lot of the objects and demos so very strange. I’ll take a look at the `SceneOutlineShape` ASAP.

EDIT: Yes, I just spotted the mistake. It’s checking the span size for max-polygon-vertices which is wrong. The span length should be unlimited! You can track the fix for this in the following [link](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-121963). It’s a trivial fix so I’ve already applied that and pushed it for review.

Thanks for the report! 🙂

---

_[View the full topic](https://discussions.unity.com/t/low-level-physics2d-polygongeometry-createpolygons-error/1689745)._
