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
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
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.