Search Issue Tracker

Fixed in 4.6.X

Votes

0

Found in

4.6.0b3

Issue ID

594279

Regression

No

Application.CaptureScreenshot does not capture GUI if the superSize parameter is set

2D

-

Project setup:
A button that calls Application.CaptureScreenshot onClick.

To reproduce:
1. Open a project that I've sent to the user
2. Run the scene and click the button - see that a screenshot is taken and uGUI is included in the picture

3. Open the script that contains captureScreen() and add the second parameter to Application.CaptureScreenshot. For example:
Application.CaptureScreenshot("Screenshot" + counter + ".png", 2);

4. Try taking a screenshot again and see that uGUI is not included anymore

Comments (4)

  1. ThomasMM

    Jan 26, 2016 10:03

    Strange - I still have this with version 5.1.3 - despite this being marked as fixed.
    Whenever I scale the screenshot, the UI disappears.

  2. thoorne

    Jul 01, 2015 11:03

    This is still open. Using superSize greater than 1 causes "Screen Space - Camera" UI not being captured. World Space works fine.

  3. Supergonk

    Jun 08, 2015 11:08

    Same problem here.

  4. YondernautsGames

    Jun 05, 2015 21:56

    I am also getting this issue, specifically with UI canvases that are rendered to "Screen Space - Camera". "Screen Space - Overlay" canvases are captured. A superSize factor of 1 also works fine, but a higher number and the camera space canvases are not rendered into the screenshot.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.