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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2021.1):
Fixed in 2021.1.18f1