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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
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