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
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
- A BatchDrawCommand is using a pass from the shader “Universal Render Pipeline/Particles/Lit” that is not SRP Batcher compatible
- The Scene does not get rendered in the Player when MSAA is enabled and more than one Camera is used
- Crash on mono_object_get_class when generating Font Atlas of a specific font file
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