# ISystemStateSharedComponentData

> Obsolete. Use ICleanupSharedComponentData instead.

## Definition

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

> **Warning:**
>
> **Removed.** ISystemStateSharedComponentData has been renamed to ICleanupSharedComponentData. This old type has been kept for transition purposes, but it will not function correctly, so you should replace it with ICleanupSharedComponentData immediately.
>
> **Upgrade to** [ICleanupSharedComponentData](/engine/7000.0/script-reference/unity/entities/icleanupsharedcomponentdata.md)

```csharp
public interface ISystemStateSharedComponentData : IBufferElementData
```

## Remarks

**Obsolete.** Use [ICleanupSharedComponentData](/engine/7000.0/script-reference/unity/entities/icleanupsharedcomponentdata.md) instead.

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

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