[Bug] [UE5.8.1] => "SceneCaptureComponent2D" Doesn't work Properly in [Standalone Game] [Standalone Game Mobile]

Summary

[Bug] [UE5.8.1] => “SceneCaptureComponent2D” works normally on [Selected Viewport] and [PIE]
but in [Standalone Game] [Standalone Game Mobile] It draws an additional square with a Gradient from the center at launch and creates flickering lines [See image Below]

What Type of Bug are you experiencing?

Level Design & Art Tools

Steps to Reproduce

I’ve Uploaded an edited video [See Below]
with all written steps and shown on screen, here"s a summery of what is shown.

  1. Create a new project “Third Person” without variant and a new level with the template “Basic”
  2. Delete the ground, Go to landscape Mode and create one with the default UE5 setting
  3. Create a post process [Material] named “M_DepthCheck” and apply the following Setup
  4. Create a [RenderTarget Texture] named “RT_Capture”
  5. Create a MaterialParameterCollection named “MPC_Capture” with this setup
  6. Create a landscape Material named “M_Landscape” with this setup and assign it to the landscape
  7. Back in the blueprint “BP_Capture”, create a new Macro “SnaptoPixelWorldSize” and make this setup.
  8. Then, create a new Function “MoveCapture” and a new variable “MoveOffset” and make this setup
  9. Make this setup in the action graph
  10. In the BP “Third person Character”, activate “render customDepth pass”

At this point, [Selected Viewport] [PIE] [Standalone Game] and [Standalone Game Mobile] all work perfectly
Creating a persistant Capture will then create the bug

  1. Create a new Render Target named “RT_Persitant”
  2. Create a new Material named “M_DrawToPersistant”
  3. In the BP, create a dynamic material Instance + set a promoted new function from it named “DrawMaterial”
  4. Create a new function named “DrawToPersistant”
  5. In the M_DepthCheck, add this block of node
  6. In the BP EventGraph, add the function “DrawToPersistant” to the Event Tick

Now, it works normally on [Selected Viewport] and [PIE]
but in [Standalone Game] [Standalone Game Mobile] It draws a square with a Gradient from the center at launch and flickering lines

  1. Even with the clear render target at different places in the BP, it doesnt change anything.

Expected Result

[Selected Viewport] [PIE] [Standalone Game] and [Standalone Game Mobile] should have the somewhat same result

Observed Result

[Selected Viewport] and [PIE] works normally and show the traces left behind by the player
While [Standalone Game] and [Standalone Game Mobile] add a Red rectangle in the capture, increase contrast and add flickering Lines

Affects Versions

5.8

Platform(s)

Windows

Upload an image

Video

The status of UE-392575 changed to ‘Needs Triage’. We are routing this to the appropriate team for investigation.