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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment