Screenshots have incorrect colors

When I take a screenshot using ‘Application.CaptureScreenshot’ the colors of the image don’t match the colors seen in the editor.

Is this normal behaviour? Am I missing something?

Thanks.

Hm, I’m thinking perhaps there is some post processing camera effect going on that the screen capture call fails to get properly?

Are you using linear or gamma lighting?

@Kurt Dekker Unfortunately this isn’t the case. I don’t have a single post processing effect active. Thanks though.

I just tried the same test on a completely fresh 2D project and get the same issue. All I did in the project is set the camera background color to red and add the simple script to take the screenshot when a key is pressed (Application.CaptureScreenshot(path, 1)).

@karl.jones This is the first that I have heard of linear vs gamma lighting. I can’t see where I can change this setting for the editor. I tried changing the option found in ‘Edit → Project Settings → Player → Other Settings’ from gamma (the default) to linear with no effect. I’m not sure if this setting is expected to effect the editor though?

2478592--170806--Screen Shot 2016-01-24 at 10.50.58.png

Can you file a bug report with the simple project you created. We will take a look.

Ok, I have now done this. Thanks.

1 Like

I would still like to know if anyone can think of a way that I could get around this issue. I’m trying to release my game very soon and need to be able to take hi-res screenshots for the app store submission.

I have just heard from Unity support that the issue only effects OS X and that I should be able to take screenshots using Windows. I will try this later.

I had the same problem on Windows 8.

If the screenshots are just for submitting the game (rather than part of the gameplay), can’t you just take them while running it in the editor (i.e. using Command-Shift-3 and editing in Photoshop)?