# ICleanupBufferElementData

> An interface for a buffer component that must be removed individually after its entity is destroyed.

## Definition

* **Type:** Interface
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public interface ICleanupBufferElementData : IBufferElementData
```

## Remarks

Cleanup components should only be added to individual entities at runtime. They will not be serialized during the baking process, will not be copied to entity instances during instantiation, and are not included when entities are copied between Worlds. See Cleanup Components for additional information.

Additional Resources: [ICleanupComponentData](/engine/7000.0/script-reference/unity/entities/icleanupcomponentdata.md), [IBufferElementData](/engine/7000.0/script-reference/unity/entities/ibufferelementdata.md)
