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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
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.