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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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.