Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4
2020.1
2020.1.0a12
Issue ID
1198055
Regression
No
The color of the screenshot captured with CaptureScreenshotAsTexture is brighter when the Color Space is set to Linear
How to reproduce:
1. Open the project "case_1198055-screenshot"
2. Open the Scene "Testing"
3. Press the Play button
4. Select the GameObject "Main Camera"
5. Right-click on the title of the "Get Stereo RT (Script)" component
6. Select "Capture Screenshot - Tex2D" in the appeared Context Menu
7. Observe the results in the Game window
Actual result: the screenshot is brighter (is in different color space) than the captured view
Expected result: the screenshot is in the same color space as the captured view
Reproducible with: 2017.4.35f1, 2020.1.0a15
Note: The Color Space is set to Linear in the Project Settings
-
PeraDllToptal
Apr 21, 2021 16:19
readPixels doesn't work for me, I'm also getting different colors (I have scenario when you take screenshot, move camera on z axis to make "continuous image" (like panorama), take another screenshot, I get different brightness image)
-
Studiomaurer
May 04, 2020 14:09
The bug is still there but can be avoided using Texture2D.readPixels() instead of the Screencapture api.
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
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
Resolution Note:
[various]
Closing a number of older lower priority bugs that would not block a production.