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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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