Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X
Votes
0
Found in
2018.4
2019.3.9f1
2020.2
Issue ID
1239813
Regression
No
Images with EncodeToPNG encoding have blue tint when TextureFormat.R8 format is used
How to reproduce:
1. Open the attached '1239813.zip' project
2. Open 'Script' script and observe textures' TextureFormat
3. Enter Play Mode
4. Observe 'R8Texture' texture color in Assets folder
Expected result: 'R8texture' texture is grey
Actual result: 'R8Texture' texture has blue tint
Reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0b10, 2020.2.0a12
Notes:
1. Screenshot of the issue is attached in Edit
2. Reproducible with EncodeToJPG, EncodeToPNG
3. EncodeToJPG crashes with 2020.2
4. Reproducible with Gamma and Linear color spaces
5. Reproducible with Metal, DX11, OpenGL Core
6. 2018.4.23f1 TextureFormat.R16 has blue tint too; blue tint is only reproducible with TextureFormat.R8 from 2019.2
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
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Resolution Note (fix version 2019.4):
Fixed in 2019.4.29f1