Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
0
Found in
2018.4
2020.2
2020.2.0a17
Issue ID
1259972
Regression
No
Images with EncodeToJPG and EncodeToTGA encoding have blue tint when TextureFormat.R8 format is used
How to reproduce:
1. Open the attached '1259972.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.4.2f1, 2020.1.0b14, 2020.2.0a17
Notes:
1. Screenshot of the issue is attached in Edit
2. Reproducible with EncodeToJPG, EncodeToPNG, EncodeToTGA; Could not reproduce with RenderTexture saved as EXR files with EncodeToEXR
3. Works fine when existing texture is encoded using EncodeArrayToJPG, EncodeArrayToPNG
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
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2
Resolution Note (fix version 2020.3):
Fixed in 2020.3.11f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.29f1