diff --git a/cocos/rendering/custom/web-pipeline-types.ts b/cocos/rendering/custom/web-pipeline-types.ts index 28024fe8e4..7aeb016db1 100644 --- a/cocos/rendering/custom/web-pipeline-types.ts +++ b/cocos/rendering/custom/web-pipeline-types.ts @@ -255,7 +255,6 @@ export class RenderInstancingQueue { instanceBuffers.forEach((instance) => { instance.clear(); }); - this.instanceBuffers.length = 0; } sort (): void {