CaputreScene() crash with a cooked build

Hello,

Our team has been looking into a crash we get when we call CaputreScene() with a cook build.
What we are trying to do is when an object gets hit we change the material on the object to do a UVUnwrap then CaptureScene() on the object then revert the object back to its old material.

When we get an OnHit, we CaptureScene() then SendAllEndOfFrameUpdates() then a bit later it will crash, so far we have only seen this crash on the particles UParticleSystemComponent::WaitForAsyncAndFinalize(…).

I am also having a problem with this.

I fixed this by making a check that TextureTarget was not null.

Ya we are doing that already.

Hi Brian, Did you ever resolve this? Still experiencing this crash in 4.21, specifically in UParticleSystemComponent::WaitForAsyncAndFinalize(…)

Our’s too is when calling CaptureScene() on a scene capture component 2d