Description

UDK Link: link title
In this project, they need to get the BackBuffer(including UMG), and use this BackBuffer to do some post-processing. So follow the code in FViewportSurfaceReader :: ResolveRenderTarget, to get BackBuffer after Slate Windows Rendered.
The error code is in fucntion FScreenCaptureModule::OnSlateWindowRendered_ScreenCapture, the main code is:

FTexture2DRHIRef SourceBackBuffer = RHICmdList.GetViewportBackBuffer(*ViewportRHI);
PixelShader->SetParameters(RHICmdList, ..., SourceBackBuffer);
RendererModule->DrawRectangle(...);

This is successful on a PC, but fails on Android.

Steps to Reproduce

[Step 1], unzip "AndroidSceneCapture.zip", generate VS project.
[Step 2], start project, open map "/Content/ScreenCapture/Test/TestLevel".
[Step 3], Play, and click button in screen, screen capture is successful.
[Link Removed]
[Step 4], Package into a Android device, and click button in device, screen capture is failed.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-37573 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Platform - Mobile
Affects Versions4.13
CreatedOct 20, 2016
ResolvedOct 26, 2016
UpdatedSep 16, 2019
View Jira Issue