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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment