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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment