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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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