docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLoadableSceneId

    GetLoadableSceneId(int)

    Resolves a Unity.Loading.LoadableSceneId from the integer index stored at build time.

    Declaration
    LoadableSceneId GetLoadableSceneId(int id)
    Parameters
    Type Name Description
    int id

    The integer index produced during the build.

    Returns
    Type Description
    LoadableSceneId

    The matching Unity.Loading.LoadableSceneId, or default if out of range.

    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)