Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2018.4
2019.2
2019.2.4f1
2019.3
2020.1
Issue ID
1191022
Regression
No
Texture's dimensions swap when it's width or height is bigger than 4096px and sprite is created via code
How to reproduce:
1. Open the attached 'TextureLoadBug.zip' project
2. Open 'SampleScene' Scene
3. Enter Play Mode
Expected result: Texture's dimensions are correctly logged and the texture is not rotated at runtime
Actual result: Texture's dimensions are swapped in the log and the texture is rotated at runtime
Reproducible width: 2017.4.33f1, 2018.4.12f1, 2019.2.10f1, 2019.3.b8, 2020.1.0a10
Notes:
- Reproducible with other image formats (png, bmp, tiff)
- Reproducible on macOS, Windows
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
HighResBad.jpg has orientation EXIF tag - originally it was horz image and it was rotated with EXIF (if i understand correctly the second one was "manually" rotated in photoshop). Editor handles it, but runtime jpeg loading ignores EXIF tags completely so it load original horz image.
there are no plans to add EXIF handling at runtime