Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.26f1
2021.1
Issue ID
1397292
Regression
No
Texture2D.LoadImage returns true and sets the texture to a question mark when loading fails
Reproduction steps:
1. Open the attached 'LoadingJpegError' project
2. Open the 'SampleScene'
3. Enter the Play Mode
4. Observe the 'Image1' on the Canvas
Expected result: Texture2D.LoadImage returns false and the 'Image1' texture is not displayed
Actual result: Texture2D.LoadImage returns true and the 'Image1' texture is set to a question mark
Reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.1.17f1
Not reproducible with: 2021.1.18f1, 2021.2.8f1, 2022.1.0b3, 2022.2.0a2
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
Fixed in 2021.1.18f1