Take a screenshot at runtime in a specific region

Hi,
I’m trying to capture a specific region of the screen at runtime.

I found this command :

HighResShot
High resolution screenshots ResolutionX(int32)xResolutionY(int32) Or Magnification(float) [CaptureRegionX(int32) CaptureRegionY(int32) CaptureRegionWidth(int32) CaptureRegionHeight(int32) MaskEnabled(int32) DumpBufferVisualizationTargets(int32) CaptureHDR(int32)]

Example: HighResShot 500x500 50 50 120 500 1 1 1

It works but only in the editor, outside of Play mode.
As soon as I try the exact same command at runtime, it ignores the specified region and take a screenshot of the whole screen.

The same thing happens in a packaged game and with the EditorScreenShot command.

Is this a bug ? How can I get arround that ?

Thanks,

EDIT: The bug has been reported : UE-57111

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks