Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.0a7
Issue ID
1066260
Regression
No
ScreenCapture.CaptureScreenshotAsTexture grabs active window instead of Game window
Steps to reproduce:
1. Download attached project
2. Open SampleScene (Asstets->Scenes)
3. Select "Directional Light" game object in the Hierarchy
4. Press on Test script context menu (cog icon) and select Capture function
5. Open saved the image (location: D:/tex.png)
Expected results: The Game window view is captured
Actual results: The active window is captured
Reproduced with: 2018.3.0a9, 2018.2.5f1, 2018.1.9f1, 2017.4.9f1
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
- Top and bottom color channels are swapped when lighting an object with Six Way Shader Graph in URP
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
This is a duplicate of issue #995199