docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RequestSceneLoaded

    A component that requests the load of a sub scene.

    Implements
    IComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public struct RequestSceneLoaded : IComponentData, IQueryTypeParameter
    Remarks

    Add this to a scene meta entity to request the scene be loaded; remove it to request unload. The streaming system propagates RequestSceneLoaded from the scene meta entity to its section meta entities when DisableAutoLoad is not set, so per-section load requests typically inherit the scene-level fields automatically.

    Fields

    Name Description
    ImportEntity

    Optional main-world entity to copy into the per-section streaming world before Unity.Scenes.ProcessAfterLoadGroup runs.

    LoadFlags

    Contains flags that control the load process for sub scenes.

    In This Article
    Back to top
    Copyright © 2026 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)