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
- [VFX Graph] ArcCone Direction computation is wrong in Base Mode
- [Android] [Galaxy Tab] A singular Pen touch logs a Pen touch event and a singular finger touch event when logged using "VisualElement.RegisterCallback" with "Pointer(Up/Down)Event"
- Crash on D3D12DescriptorCache::Deallocate or vkGetInstanceProcAddr when loading RenderDoc in a specific Scene
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader 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