Search Issue Tracker

Fixed in Unity 2017.1

Votes

2

Found in

5.6.0f3

Issue ID

898383

Regression

No

SpriteUtility.GetSpriteUvs returns invalid Uvs

2D

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Workaround is possible

SpriteUtility.GetSpriteUvs returns invalid UVs

1. Open ExampleScene
2. Click on SpriteObjTester
3. Check the section called Uvs

Expected result:
- Returns the uv coordinates of the sprite as if it was packed in the atlas.
Actual result:
- Returns either an empty array, or an array filled with the zero vector.

Tested on: 2017.1.0b1, 5.6.0f3s2, 5.5.3f1, 5.5.0f3s2

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.