Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X
Votes
0
Found in
2018.4
2019.4
2019.4.17f1
2020.2.0b2
Issue ID
1313321
Regression
Yes
ScreenCapture.CaptureScreenshot not working when main display is bigger
Reproduction steps:
1. Open attached Project
2. Build and Run the scene Assets\Scene\SampleScene in Development mode
3. Press R
Expected result: A screenshot of the screen is taken and saved in the Build Data Directory
Actual result: A black image is saved
Reproducible with: 2018.4.31f1, 2019.4.20f1, 2020.2.0b2
Not reproducible with: 2020.2.0b3, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3
Notes:
If the main display is bigger than the secondary, no image is saved and a "Region exceeds render target" error is thrown (Windows)
If the main display is bigger than the secondary, the Player crashes (Mac)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b3
Resolution Note (fix version 2019.4):
Fixed in 2019.4.26f1