docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SceneEventProgressStatus

    Used by NetworkSceneManager to determine if a server invoked scene event has started. The returned status is stored in the Status property.
    Note: This was formally known as SwitchSceneProgress which contained the AsyncOperation. All AsyncOperations are now delivered by the OnSceneEvent event handler via the SceneEvent parameter.

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public enum SceneEventProgressStatus

    Fields

    Name Description
    InternalNetcodeError

    This is used for internal error notifications.
    If you receive this event then it is most likely due to a bug (please open a GitHub issue with steps to replicate).

    InvalidSceneName

    Returned if the scene name used with LoadScene(string, LoadSceneMode) or UnloadScene(Scene)is invalid.

    None

    No scene event progress status can be used to initialize a variable that will be checked over time.

    SceneEventInProgress

    Returned if you try to start a new scene event before a previous one is finished.

    SceneFailedVerification

    Server side: Returned if the VerifySceneBeforeLoading delegate handler returns false (i.e. scene is considered not valid/safe to load).

    SceneManagementNotEnabled

    This is returned when an unload or load action is attempted and scene management is disabled

    SceneNotLoaded

    Returned if you try to unload a scene that was not yet loaded.

    ServerOnlyAction

    This is returned when a client attempts to perform a server only action

    SessionOwnerOnlyAction

    This is returned when a client that is not the session owner attempts to perform a session owner only action

    Started

    The scene event was successfully started.

    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)