Search Issue Tracker
Duplicate
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1117220
Regression
No
Calling ScreenCapture.CaptureScreenshotAsTexture() screenshots active window instead of the game view
Steps to reproduce:
1. Download and open the attached project
2. Open scene "Main"
3. Select GameObject "Screenshot maker"
4. Open the context menu for "Main" component
5. Press "Take a screenshot"
6. Inspect saved texture
Expected result: screenshot is of game view
Actual result: screenshot if of the inspector view
Reproduced on 2017.4.0f1, 2017.4.18f1, 2018.3.2f1, 2019.1.0a14, 2019.2.0a1
Notes:
- Same occurs if called from EditorWindow
- Documentation states "Captures a screenshot of the game view"
-
Resolution Note:
duplicate of the crash bug. It crashes because it's not capturing the game view
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
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
This is a duplicate of issue #1053476