diff --git a/com.unity.postprocessing/PostProcessing/Runtime/PostProcessLayer.cs b/com.unity.postprocessing/PostProcessing/Runtime/PostProcessLayer.cs index 57bc067b5b2..aaeea3782ca 100644 --- a/com.unity.postprocessing/PostProcessing/Runtime/PostProcessLayer.cs +++ b/com.unity.postprocessing/PostProcessing/Runtime/PostProcessLayer.cs @@ -265,6 +265,9 @@ bool DynamicResolutionAllowsFinalBlitToCameraTarget() #if UNITY_2019_1_OR_NEWER // We always use a CommandBuffer to blit to the final render target // OnRenderImage is used only to avoid the automatic blit from the RenderTexture of Camera.forceIntoRenderTexture to the actual target +#if !UNITY_EDITOR + [ImageEffectUsesCommandBuffer] +#endif void OnRenderImage(RenderTexture src, RenderTexture dst) { if (finalBlitToCameraTarget && !m_CurrentContext.stereoActive && DynamicResolutionAllowsFinalBlitToCameraTarget())