diff --git a/Assets/Nova/Runtime/Core/Scripts/DistortedUvBufferPass.cs b/Assets/Nova/Runtime/Core/Scripts/DistortedUvBufferPass.cs index d882f1a..48168c2 100644 --- a/Assets/Nova/Runtime/Core/Scripts/DistortedUvBufferPass.cs +++ b/Assets/Nova/Runtime/Core/Scripts/DistortedUvBufferPass.cs @@ -48,12 +48,13 @@ public override void Execute(ScriptableRenderContext context, ref RenderingData { context.ExecuteCommandBuffer(cmd); cmd.Clear(); - CommandBufferPool.Release(cmd); var drawingSettings = CreateDrawingSettings(_shaderTagId, ref renderingData, SortingCriteria.CommonTransparent); context.DrawRenderers(renderingData.cullResults, ref drawingSettings, ref _filteringSettings); } + context.ExecuteCommandBuffer(cmd); + CommandBufferPool.Release(cmd); } } } \ No newline at end of file