docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Unity Gaming Services (UGS) API endpoints for multiplayer widgets

    Each multiplayer widget uses the API from the Multiplayer Service or Vivox packages. This table lists every end point that each multiplayer widget uses.

    Multiplayer widget API end points
    Create Session CreateSessionAsync(SessionOptions)
    Join Session by Code JoinSessionByCodeAsync(string, JoinSessioOptions)
    Quick Join Session MatchmakeSessionAync(QuickJoinOptions, SessionOptions)
    Session List QuerySessionsAsync(QuerySessionsOptions)
    JoinSessionByIdAsync(string, JoinSessionOptions)
    Leave Session Session.LeaveAsync()
    Session Player List Session.Players
    Session.PlayerJoined
    Session.PlayerLeft
    Show Session Code Session.Code
    Select Input Audio Device SetActiveInputDeviceAsync(VivoxInputDevice)
    Select Output Audio Device SetActiveOutputDeviceAsync(VivoxOutputDevice)
    Text Chat SendChannelTextMessageAsync(string, string, MessageOptions)

    Additional resources

    • Learn how multiplayer widgets work on the client and host
    • Configure a session
    In This Article
    Back to top
    Copyright © 2025 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)