Search Issue Tracker
By Design
Votes
1
Found in
5.6.1f1
Issue ID
911965
Regression
No
Sprite.rect position is always (0, 0) when the sprite is packed into atlas and Mesh Type is set to Tight
To reproduce:
1. Open the project, attached by user (SpritePackedPositionBug.zip)
2. Open "testScene" scene
3. Enter Play mode
4. Observe the sprite rect position.
Expected: sprite.rect position should return the sprite position in the atlas
Actual: sprite.rect.x and sprite.rect.y always returns 0
Reproduced in 5.4.5p1, 5.5.3p2, 5.6.1f1, 2017.1.0b6
Comments (1)
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
- “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
tangwentian
Jul 31, 2017 10:42
but i want to vote this as a bug