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

Texture

-

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)

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b1

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.16f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.16f1

  4. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.30f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.