Search Issue Tracker

Fixed in 9.0.0-pre.1

Fixed in 7.0.5

Votes

0

Found in [Package]

8.0.0-pre.5

Issue ID

1387298

Regression

No

SpriteShape throws ArgumentException error when checking position validity of a point added to Spline

Package: 2D Sprite Shape

-

How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Press the Play button and observe the Console

Expected result: no errors are thrown
Actual result: ArgumentException: Internal error: Point too close to neighbor
UnityEngine.U2D.Spline.InsertPointAt (System.Int32 index, UnityEngine.Vector3 point) <...>

Reproducible with: 7.0.3 (2021.2.8f1), 8.0.0-pre.4 (2022.1.0b4), 8.0.0-pre.5 (2022.2.0a2)
Could not test with: 2019.4.34f1, 2020.3.26f1 (2D Package errors)

Notes: crash occurs occasionally after entering Play mode

  1. Resolution Note (fix version 9.0.0-pre.1):

    Fix for this issue available on Unity 2022.2.0a14 and above

  2. Resolution Note (fix version 7.0.5):

    Fix for this issue will be available on Unity 2021.3.7f1 and above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.