Search Issue Tracker
Fixed in 5.4.2
Votes
0
Found in
5.4.0f3
Issue ID
823935
Regression
No
Some UV values get shifted by 1 pixel and results in incorrect UVs
Steps to reproduce:
1. Open attached project
2. Open scene "main"
3. Open Resources/Prefabs/Environments in project tab. Select HooverClassroom.prefab.
4. Right-click, and "choose HoodArt->swap crabby sprites". Each time you choose this, you should see the pencil case and part of the desk subtly shift up and down as this swaps between the original sprites and the sprites that CrabbyImporter is creating
Additional steps:
5. Navigate to CompressedTextures/Environment/HooverClassroom_env
6. Select HooverClassroom_lookup.png
7. Right-click and choose "Reimport"
8. What you'll see in the console log is that for the original sprites, rect==textureRect in both cases, but for the new sprites, they aren't equal in the broken case. More specifically, the uv values match between the original and new sprites in the working case, and they're different in the broken case
Reproduced with: 5.3.6p3, 5.4.0p2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Add comment