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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
shubhamswaraj2021
Aug 19, 2020 13:36
good one <a href="https://www.lyricsauto.com">lyricsauto</a>