Documentation

Unity Engine


Unity Engine


Chunk

The chunk containing the specified Entity.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Field
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public ArchetypeChunk Chunk

Remarks

Users should be extremely careful when accessing this field from job code. Specifically, multiple threads must not modify the same ArchetypeChunk. The type is not thread-safe, and parallel writes will result in race conditions and unpredictable behavior.