Screenshoot with mask at packaged game

Hi Everyone,

I can take ss with FScreenshotRequest::RequestScreenshot(selectedFiles[0], false,false); at packaged game.
but i want to mask some objects and i added GetHighResScreenshotConfig().bMaskEnabled = true; thus
i get what i want to do but it works in editor not at packaged game.
Runtime Error is :(Asserion failed: Unputs.Material||Inputs.MaskMaterial||Inputs.CaptureRegionMaterial File:…///Runtime/Renderer/Private/PostProcess/PostProcessMaterial.cpp Line836)

Is there any solution for this or alternative ssolway to approach this problem