High Resolution Screenshot saved multiple times

Hi,

In the High Resolution Screenshot dialog there is a checkbox that says Include Buffer Visualization Targets. When enabled the viewport scene will be rendered and all the buffer maps (i.e. Normals, base colour, Specular, Roughness, etc) will be saved to the default screenshot folder. However, when I check the Output Log I see that each of those Targets is been saved 4 times. For each map the Log outputs a message in the form: LogConsoleResponse:Display: Content was saved to "…/pathToScreenshots/Windows/HighresScreenshot00001_ MapName .png"

Is this the normal behavior?

Apparently the reason is in the while loop inside FViewport::HighResScreenshot(). By default the while loop will last for 4 iterations, hence 4 times rendering and saving each of the Buffer Visualization Targets. I wonder why it is set to 4 by default and not just 1…