SceneCaptureComponent2D with Capture Every Frame disables Global Distance Field in the main view

Summary

In Unreal Engine 5.8, enabling Capture Every Frame on a SceneCaptureComponent2D
with a TextureRenderTarget2D causes Global Distance Field material functions in
the main viewport to stop working.

Disabling Capture Every Frame immediately restores the Distance Field result.

The problem occurs even in an older project where the Distance Field material
worked correctly before adding the continuously updating Scene Capture.

What Type of Bug are you experiencing?

Rendering (Graphics / Niagara)

Steps to Reproduce

  1. Create a project with Generate Mesh Distance Fields enabled.
  2. Create a material that visibly uses DistanceToNearestSurface or another
    Global Distance Field function.
  3. Apply the material and confirm that the Distance Field result works.
  4. Create a TextureRenderTarget2D.
  5. Add a SceneCaptureComponent2D to the level.
  6. Assign the Render Target to its Texture Target.
  7. Enable Capture Every Frame.
  8. Observe that the Distance Field material stops working in the main viewport.
  9. Disable Capture Every Frame.
  10. Observe that the Distance Field result immediately works again.

Expected Result

The SceneCaptureComponent2D should update its Render Target without disabling
or invalidating Global Distance Field sampling in the main view.

Observed Result

While Capture Every Frame is enabled, the Global Distance Field result in the
main viewport becomes unusable. Disabling continuous capture restores it.

Affects Versions

5.8

Platform(s)

Windows

Video