Skip to main content

The path data of PolygonCollider2D is modified during reloading of the scene but it is not reset

There may be a problem with PolygonCollider2D's path data not being serialized.

Possible solution:

  • Keep a copy of the original path data and manually apply the change once the scene gets reloaded.