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
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
- TableEntryAdded event is not triggered when a new entry is added in the Localization Tables window
- The macOS Player is built to a different folder than the selected one when the Player is built on Windows
- Editor memory leak in VisualElement when recompiling in a blank URP project
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.