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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
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.