Description

Scene Capture 2D components lose access to the Blendable assigned to them if they are not set to Capture Every Frame at all times. If it gets turned off, the blendable can never be reapplied at runtime.

This is causing problems for users who want to use a Scene Capture 2D for Minimap UI purposes, but do not want to pay the full cost of having the capture update on every frame.

Also Reproduced in Dev-Main-CL-2911698

Steps to Reproduce

*Quick Repro - Open the Attached Project and PIE*

Initial Project Setup

  1. Open a Blank Third Person Template Project with no Starter Content
  2. Create a New Blueprint Actor, called BP_Capture
  3. Create a New Render Target 2D, called T_Target
  4. Create a Post Process Blendable Material called M_PPBlendable which shows the World Normals of the Scene.
  5. Create a New UI Material called M_Target which has the T_Target plugged into Final Color
  6. Create a New Widget called BP_UI which has M_Target as an Image on the Screen
    Setting Up Scene Capture Logic to Not capture Every Frame but update Every Second
  7. In BP_Capture, add a Scene Capture 2D component
  8. Assign T_Target as the Scene Capture 2D's Render Target Texture
  9. In the Scene Capture 2D, add the M_PPBlendable in the Post Process Settings
  10. In the Event Graph on Event Begin Play, set the Capture Every Frame set to False
  11. Also in the Event Graph, add a Custom Event which moves the BP from its current location+0,0,0.1 to current location+0,0,-0.1
  12. off of the Set Node, add a Timer on Event which is set to loop every 1 second connected to the Custom Event
    Level Setup
  13. In the Level, add BP_Capture to the level such that it faces downward looking at the level
  14. In the Level Blueprint, Create a Widget based on BP_UI
  15. From the Create Widget, add to Viewport
  16. PIE

RESULTS: The UI shows the World Normal Blendable until the first Capture Update then it loses the Post Process Blendable influence

EXPECTED: The UI shows the Post Process Blendable and updates according to Timer and Custom Event.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

23
Login to Vote

Won't Fix
ComponentUE - Rendering
Affects Versions4.10.44.114.12
CreatedMar 16, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021