Capture Screenshot with HUD included?

Hello!

I am trying to make a blueprint to save a screenshot of the players view but using HighResShot or F9 does not save any UMG or HUD elements.

I really need a way to save the entire screen, including anything in the UI. Is there a way to get this working?

Thanks

1 Like

Same question.

I am also curious about this… is there anyway to also capture the UMG HUD elements outside of simply using good old “PrintScreen”? It would be nice to be able to utilize the HighResShot command and have the HUD included.

waiting for this one too :frowning:

Instead of using HighResShot, use bugscreenshot

The HUD will be included and the shot will be in /Saved/BugIt/

Hope this helps :slight_smile:

PS: I’m not entirely sure if this works in shipping builds.

this is cool! thanks
unfortunately it only captures on viewport resolution =(

That is correct. I’m not clear on any other way to capture both. If you think about it, the HUD is rendered at the screen resolution, anchored, while the viewport can be an arbitrary number.

In the document of FScreenshotRequest, there is a parameter to control whether to show UI.
If you can use c++ in your project, setting bInShowUI to true might be an alternative solution.

2 Likes

I’m come from 2023, and I’m using 4.27, the F9 key will include UMG in screenshot now, and for those who want to solve this problem in c++, here is a solution:

APlayerController* PlayerController = GetWorld()->GetFirstPlayerController();
PlayerController->ConsoleCommand("shot -showui", true);

the added showui parameter is important.

I’m guessing there’s still no way to do this in blueprints? I have no idea how to stop ignoring UI, I guess I’ll have to settle with F9 for the time being.