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
- [HDRP Wizard] Reload Window fails to reload the HDRP Wizard window
- [HDRP Wizard] Fix All button is not presented using the macOS system
- "InvalidCastException: Specified cast is not valid" is thrown when Generating Lighting with "Virtual Offset" enabled in APV, and a static Skinned Mesh Rendered with a Mesh Filter Component is in the Scene
- TMP material doesn't update when using Localized Property to change the font assets
- New Artifact generated for Video when reimporting with identical settings
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