SceneDepth is invalid in Post Process material used by a SceneCaptureComponent.



When using the material and configuration shown above with a SceneCaptureComponent, I noticed that the SceneDepth texture is only valid in the “After Tonemap” post-processing domain, and even then, it sometimes becomes invalid. This inconsistency is confusing — what causes it?