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
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)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.
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.
Supergonk
Jun 08, 2015 11:08
Same problem here.
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.