Search Issue Tracker

Fixed in 2017.1.X

Votes

2

Found in

5.6.0f3

Issue ID

898383

Regression

No

SpriteUtility.GetSpriteUvs returns invalid Uvs

2D

-

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

Add comment

Log in to post comment

All about bugs

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