HighResShot not working in shipping packaging 5.5

Hi everyone!

We’ve encountered an issue in shipping builds on engine 5.5 where the screenshot saving functionality is not working. We are using the following code to save the screenshot:

cpp

const FString RootDir = FPaths::ProjectSavedDir();
const FString TempScreenshotPath = RootDir + TEXT("Screenshots/TempScreenshot.png");
FScreenshotRequest::RequestScreenshot(TempScreenshotPath, false, false);

At the point of saving, the image is not being written, and we cannot find the file at the specified path.

This is a critical functionality for our game on Steam, and we would like to know when this issue will be fixed or if there are any workarounds.

Any help or information would be greatly appreciated!

Thank you!