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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
shubhamswaraj2021
Aug 19, 2020 13:36
good one <a href="https://www.lyricsauto.com">lyricsauto</a>