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
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
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
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.