Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
7.3.1
Issue ID
1240443
Regression
No
[URP] Colors slightly differ with Post-processing on and off
How to reproduce:
1. Open the attached "URP_PostProcessing_ColorBug.zip" project
2. Open the "SampleScene"
3. Open the "Main Camera" GameObject -> In Inspector Window uncheck the Post Processing option
3. Switch to Game View -> Pick the color sample from the gray area (using any color picking software)
4. Note the output color
5. Now check the Post Processing -> Pick the color from the gray area again
Expected result: The color sample is marked as "445864"
Actual result: The color sample is marked as "435864"
Reproducible with: 2019.4.1f1, 2020,1,0b14, 2020.2.0a15
Reproducible with URP Package versions: 7.3.1, 8.1.0, 9.0.0-preview.14
Notes:
- Could not test on 2018.4 and lower, because the Post-processing does not exist in these versions
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
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- UI Shader Graph’s Main Preview has a right-click context menu with different preview options which do not work for a UI Shader Graph and does nothing when clicked
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note:
After investigation, this only happens when working in Gamma / LDR mode. For visual correctness, when Gamma / LDR is used we do a soft conversion (as in, in the shaders) to LinearRGB at the beginning of the pipeline and back to sRGB at the end. This can unfortunately result in a slight loss of floating point precision in some specific cases like this one. This loss of precision is usually eaten up when other effects are enabled. We consider visual correctness to be more important than absolute precision so this issue won't be fixed. Unless you really need to work in Gamma, we recommend switching to Linear for better accuracy and visual quality.