Unity logo Unity Documentation
  • Unity Docs Home
  • Unity Editor Manual
  • Unity Gaming Services Docs
  • Unity Gaming Services REST API Docs
Learning
  • Blog
  • Forums
  • Answers
  • Customer Service
  • Knowledge Base
  • Technical Support
  • Consulting Services
  • Asset Store
  • Connect
  • Dashboard
  • Distribute
  • Forum
  • Learn
Overview
Accounts
Authentication
Content Management
Cloud CodeCloud Content DeliveryCloud SaveRemote ConfigUser Generated Content
DevOps
Build AutomationVersion Control
Multiplayer
Multiplay HostingLobbyMatchmakerRelay
Analytics & Player Engagement
AnalyticsGame OverridesPush Notifications
Communications & Safety
ModerationSafe TextVivox
Community
FriendsLeaderboards
Crash Reporting
Cloud Diagnostics
Game economy
EconomyIn-App Purchasing
Reference
Solutions
  • Multiplayer Services SDK
  • Manual
  • Scripting API
    • Global Namespace
    • Unity.Services.Core
    • Unity.Services.Lobbies
    • Unity.Services.Lobbies.Http
    • Unity.Services.Lobbies.Models
    • Unity.Services.Matchmaker
    • Unity.Services.Matchmaker.Http
    • Unity.Services.Matchmaker.Models
    • Unity.Services.Matchmaker.PayloadProxy
    • Unity.Services.Multiplay
    • Unity.Services.Multiplay.Authoring.Core.Assets
    • Unity.Services.Multiplay.Authoring.Core.Builds
    • Unity.Services.Multiplay.Authoring.Core.Deployment
    • Unity.Services.Multiplay.Authoring.Core.Model
    • Unity.Services.Multiplay.Authoring.Core.MultiplayApi
    • Unity.Services.Multiplay.Authoring.Editor
    • Unity.Services.Multiplay.Models
    • Unity.Services.Multiplayer
      • BackfillingConfiguration
      • BaseSessionOptions
      • FilterField
      • FilterOperation
      • FilterOption
      • IHostSession
      • IMultiplayAllocation
      • IMultiplayerServerService
      • IMultiplayerService
      • IMultiplaySessionManager
      • INetworkHandler
      • IPlayer
      • IReadOnlyPlayer
      • IServerSession
      • ISession
      • ISessionInfo
      • JoinSessionOptions
      • MatchmakerExtensions
      • MatchmakerOptions
      • MatchmakerServerExtensions
      • MatchmakerState
      • MultiplayerServerService
      • MultiplayerService
      • MultiplayServerOptions
      • MultiplaySessionManagerEventCallbacks
      • MultiplaySessionManagerOptions
      • MultiplaySessionManagerState
      • NetworkConfiguration
      • NetworkRole
      • NetworkType
      • PlayerProperty
      • PropertyIndex
      • QuerySessionsOptions
      • QuerySessionsResults
      • QuickJoinOptions
      • ReconnectSessionOptions
      • ServerAllocation
      • SessionError
      • SessionEventConnectionState
      • SessionException
      • SessionOptions
      • SessionOptionsExtensions
      • SessionProperty
      • SessionState
      • SortField
      • SortOption
      • SortOrder
      • VisibilityPropertyOptions
    • Unity.Services.Multiplayer.Editor.Shared.DependencyInversion
    • Unity.Services.Relay
    • Unity.Services.Relay.Http
    • Unity.Services.Relay.Models
    • Unity.Services.Wire.Internal
    • Unity.Ucg.Usqp
  • Changelog
  • License
  1. Scripting API
  2. Unity.Services.Multiplayer
  3. IServerSession
v1.0.0
2022.3+

Interface IServerSession#

An interface that can be used by a server to manage a session and access more privileged operations.

Inherited Members#
IHostSession.Name
IHostSession.IsPrivate
IHostSession.IsLocked
IHostSession.Host
IHostSession.Password
IHostSession.RemovePlayerAsync(String)
IHostSession.SetProperties(Dictionary<String, SessionProperty>)
IHostSession.SetProperty(String, SessionProperty)
IHostSession.Players
IHostSession.SavePropertiesAsync()
IHostSession.SavePlayerDataAsync(String)
IHostSession.DeleteAsync()
ISession.Changed
ISession.StateChanged
ISession.PlayerJoined
ISession.PlayerLeft
ISession.SessionPropertiesChanged
ISession.PlayerPropertiesChanged
ISession.RemovedFromSession
ISession.Deleted
ISession.Type
ISession.Id
ISession.Code
ISession.IsHost
ISession.HasPassword
ISession.AvailableSlots
ISession.MaxPlayers
ISession.PlayerCount
ISession.Properties
ISession.State
ISession.CurrentPlayer
ISession.SaveCurrentPlayerDataAsync()
ISession.LeaveAsync()
ISession.RefreshAsync()
ISession.ReconnectAsync()
ISession.AsHost()
Namespace: Unity.Services.Multiplayer#
Syntax#
public interface IServerSession : IHostSession, ISession

Extension Methods#

MatchmakerExtensions.GetMatchmakingResults(ISession)
MatchmakerServerExtensions.StartBackfillingAsync(ISession)
MatchmakerServerExtensions.StopBackfillingAsync(ISession)
  • Interface IServerSession
  • Extension Methods

Was this page helpful?

Report a problem with this page.
Unity logo Documentation
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Terms Of Use
  • Cookies
  • Do Not Sell or Share My Personal Information
  • Your Privacy Choices (Cookie Settings)
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.