Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

1

Found in

2017.2.0p2

Issue ID

970774

Regression

No

Invalid vertex array when calling Sprite.OverrideGeometry

2D

-

How to reproduce:
1. Download attached project file ant open "Example" Scene
2. Check the console for errors. Running the scene is not needed

Actual result: Calling Sprite.OverrideGeometry produces the "Invalid vertex array. Some vertices are outside of the Sprite rectangle" error, although the set vertices are based on the original vertices. Notice the original vertices array of the SpriteExample component on the Example GameObject in the scene. Then compare the min/max of the new vertices array.

Reproduced with: 5.6.4p3, 2017.1.2p3, 2017.2.0p4, 2017.3.0b11, 2018.1.0a6

Comments (1)

  1. shubhamswaraj2021

    Aug 19, 2020 13:36

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

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.