Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2019.4.1f1
2020.3
2021.1
2021.2
Issue ID
1325643
Regression
No
EncodeToPNG stores grayscale image as RGB with the grayscale info in the blue channel when RFloat format is used
Reproduction steps:
1. Open attached project "BrokenEncodeToPNGForRFloat.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Hierarchy window, select "Gradient" GameObject
4. In Inspector window, press "Save" and "Load" buttons
5. Observe Game View
Expected result: The two images are in grayscale
Actual result: The image on the left is rendered blue or cyan
Reproducible with: 2019.4.24f1, 2020.3.4f1, 2021.1.1f1, 2021.2.0a12
Could not test with: 2018.4.34f1 (console errors break project)
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
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
- [Android] URP Project crashes when built on a device with PowerVR Rogue GE8320 GPU
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b1
Resolution Note (fix version 2021.1):
Fixed in 2021.1.16f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.16f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.30f1