Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.5.0a5
Issue ID
UUM-130878
Regression
No
ScreenCapture.CaptureScreenshotAsTexture() returns black borders that are present in Game view when using different resolution
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. In Project window, delete the “/Assets/CaptureScreenshotAsTexture.png“
4. Enter a new "Fixed Resolution 1280x720" item in the Game view aspect drop-down
5. Select the 1280x720 aspect item
6. Resize the GameView so that around the rendered image Unity Editor displays dark gray borders
7. Enter the Play Mode
8. Wait until the Play Mode exits automatically
9. Observe the “/Assets/CaptureScreenshotAsTexture.png“
Expected result: No dark gray borders exist and looks identical to “/Assets/CaptureScreenshot.png“
Actual result: Dark Gray borders are present
Reproducible with: 6000.0.64f1, 6000.3.2f1, 6000.4.0a5, 6000.5.0a3
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- The code that captures the screenshot is located in “/Assets/Scripts/NewMonoBehaviourScript.cs”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Add comment