Search Issue Tracker

By Design



Found in


Issue ID




Loading a PNG file with Resources.Load<Texture2D> and Texture2D.LoadImage produces different results

Graphics - General



Priority: 7Not yet prioritized for a release


Severity: 2Core functionality majorly impacted

To reproduce:

1. Download attached project "PNG" and open in Unity
2. Open "test" scene
3. Enter to Play mode
4. Press "Load As PNG" button and observe results
5. Press "Load From Resources" button and observe results

Expected results: Observe that loading Texture by Resources.Load<Texture2D> and Texture2D.LoadImage produce the same results (Tone)
Actual results: Observe that loading Texture by Resources.Load<Texture2D> Texture is not the same when You load it directly from PNG by Texture2D.LoadImage

- This issue appears on both Windows and macOS
- A Texture which loaded from Resources is lighter than loaded as PNG
- This issue does not happen with JPEG

Reproduced on Unity 2017.4.0f1, 2017.4.17f1, 2018.1.9f2, 2018.2.19f1, 2018.3.0f1 and 2019.1.0a11

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.