docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field Chunk

    The chunk containing the specified Entity.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public ArchetypeChunk Chunk
    Returns
    Type Description
    ArchetypeChunk
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)