Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.28f1
2022.3.5f1
2023.1.4f1
2023.2.0a23
Issue ID
UUM-42732
Regression
No
ImageConversion.LoadImage fails when loading a JPG
How to reproduce:
1. Open the attached project "LoadImageJPG.zip"
2. Enter Play Mode
Expected results: "TCG_04_N-SMS2166-027_16-9.jpg" is loaded
Actual results: "ImageConversion.LoadImage failed to load Assets/Resources/TCG_04_N-SMS2166-027_16-9.jpg" is thrown in the Console window
Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Reproducible on: Windows 10
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
- [Usability] Process details under Threads in Profiler can't be scrolled when the info doesn't fit the pop-up vertically
- Target selection menu in Profiler has no highlight when hovering on various options
- [Usability] Can't create Target Frame Time presets in Profiler
- Text is not displayed in the Inspector window when using Korean characters
- [macOS][iOS][IL2CPP] Crash when using the nullable enum as a parameter and passing a default value into it.
Resolution Note:
Closing as "Won't Fix" because this showcases a known limitation where LoadImage can only accept JPG data that is in RGB, Grayscale or YUV color space. (as such, this is not a bug)
This limitation is not well communicated though and will, at the very least, be added to the API docs.
(If time allows for it, we will also improve the error reporting)