# ComponentData

> Data payload for all component changes specified in EntityChangeSet.SetComponents

## Definition

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

```csharp
public readonly NativeArray<byte> ComponentData
```

### Remarks

Data changes are tightly packed. Use the [PackedComponentDataChange.Size](/engine/7000.0/script-reference/unity/entities/packedcomponentdatachange/size.md) to read back.
